summaryrefslogtreecommitdiffstats
path: root/chrome/browser/debugger
diff options
context:
space:
mode:
authorglen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-29 18:35:42 +0000
committerglen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-29 18:35:42 +0000
commit9527f9cc2bd9ea407c72b35e016b848b6ea4ecff (patch)
tree8936410a87641d2fa31f956df00add071a62f2c4 /chrome/browser/debugger
parentc6d972b5b5967c090671d6a9fb9dd05252d2f8f5 (diff)
downloadchromium_src-9527f9cc2bd9ea407c72b35e016b848b6ea4ecff.zip
chromium_src-9527f9cc2bd9ea407c72b35e016b848b6ea4ecff.tar.gz
chromium_src-9527f9cc2bd9ea407c72b35e016b848b6ea4ecff.tar.bz2
Change chrome:// to chrome-ui://, fix up one chrome-resource:// reference.
Review URL: http://codereview.chromium.org/18175 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8896 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/debugger')
-rw-r--r--chrome/browser/debugger/debugger_contents.cc2
-rw-r--r--chrome/browser/debugger/debugger_view.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/debugger/debugger_contents.cc b/chrome/browser/debugger/debugger_contents.cc
index c3d2e4b..a8f62fa 100644
--- a/chrome/browser/debugger/debugger_contents.cc
+++ b/chrome/browser/debugger/debugger_contents.cc
@@ -127,6 +127,6 @@ void DebuggerContents::AttachMessageHandlers() {
// static
bool DebuggerContents::IsDebuggerUrl(const GURL& url) {
- return (url.SchemeIs("chrome") && url.host() == "inspector");
+ return (url.SchemeIs("chrome-ui") && url.host() == "inspector");
}
diff --git a/chrome/browser/debugger/debugger_view.cc b/chrome/browser/debugger/debugger_view.cc
index 662deef..18a8104 100644
--- a/chrome/browser/debugger/debugger_view.cc
+++ b/chrome/browser/debugger/debugger_view.cc
@@ -105,7 +105,7 @@ void DebuggerView::OnInit() {
web_container_->SetTabContents(web_contents_);
web_contents_->render_view_host()->AllowDOMUIBindings();
- GURL contents("chrome://inspector/debugger.html");
+ GURL contents("chrome-ui://inspector/debugger.html");
web_contents_->controller()->LoadURL(contents, GURL(),
PageTransition::START_PAGE);
}