summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dom_ui/dom_ui_contents.cc
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/dom_ui/dom_ui_contents.cc
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/dom_ui/dom_ui_contents.cc')
-rw-r--r--chrome/browser/dom_ui/dom_ui_contents.cc11
1 files changed, 6 insertions, 5 deletions
diff --git a/chrome/browser/dom_ui/dom_ui_contents.cc b/chrome/browser/dom_ui/dom_ui_contents.cc
index a32a4cd..4e0a3f2 100644
--- a/chrome/browser/dom_ui/dom_ui_contents.cc
+++ b/chrome/browser/dom_ui/dom_ui_contents.cc
@@ -12,7 +12,7 @@
// The scheme used for DOMUIContentses
// TODO(glen): Merge this with the scheme in chrome_url_data_manager
-static const char kURLScheme[] = "chrome";
+static const char kURLScheme[] = "chrome-ui";
// The path used in internal URLs to thumbnail data.
static const char kThumbnailPath[] = "thumb";
@@ -117,9 +117,9 @@ void ThumbnailSource::OnThumbnailDataAvailable(
///////////////////////////////////////////////////////////////////////////////
// DOMUIContents
-// This is the top-level URL handler for chrome: URLs, and exposed in
-// our header file. The individual DOMUIs provide a chrome:
-// HTML source at the same host/path.
+// This is the top-level URL handler for chrome-ui: URLs, and exposed in
+// our header file. The individual DOMUIs provide a chrome-ui:// HTML source
+// at the same host/path.
bool DOMUIContentsCanHandleURL(GURL* url,
TabContentsType* result_type) {
if (!url->SchemeIs(kURLScheme))
@@ -205,4 +205,5 @@ void DOMUIContents::ProcessDOMUIMessage(const std::string& message,
// static
const std::string DOMUIContents::GetScheme() {
return kURLScheme;
-} \ No newline at end of file
+}
+