mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-16 12:10:41 +01:00
Fix loading of DevTools frontend from chrome-devtools scheme (issue #1095).
git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/1547@1509 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
cb5b5b43f5
commit
98369167d7
@ -183,7 +183,7 @@ std::string CefDevToolsDelegate::GetDevToolsURL(content::RenderViewHost* rvh,
|
||||
std::string page_id = binding_->GetIdentifier(rvh);
|
||||
std::string host = http_scheme ?
|
||||
base::StringPrintf("http://localhost:%d/devtools/", port) :
|
||||
base::StringPrintf("%s://%s/devtools/", chrome::kChromeDevToolsScheme,
|
||||
base::StringPrintf("%s://%s/", chrome::kChromeDevToolsScheme,
|
||||
scheme::kChromeDevToolsHost);
|
||||
|
||||
return base::StringPrintf(
|
||||
|
@ -12,7 +12,7 @@ namespace scheme {
|
||||
void AddInternalSchemes(std::vector<std::string>* standard_schemes) {
|
||||
static CefContentClient::SchemeInfo schemes[] = {
|
||||
{ chrome::kChromeUIScheme, true, true, true },
|
||||
{ chrome::kChromeDevToolsScheme, true, true, false }
|
||||
{ chrome::kChromeDevToolsScheme, true, false, true }
|
||||
};
|
||||
|
||||
CefContentClient* client = CefContentClient::Get();
|
||||
|
Loading…
x
Reference in New Issue
Block a user