diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-02 22:46:03 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-02 22:46:03 +0000 |
commit | f8a6d73cfd917aa72bd8264ae1bc5c3ec4da24dc (patch) | |
tree | f1beb819850ccd298f012775a59d9615d70c64aa /content/browser/webui | |
parent | af7abfae370ada09a26ce1a56fbbd27c1462c9a8 (diff) | |
download | chromium_src-f8a6d73cfd917aa72bd8264ae1bc5c3ec4da24dc.zip chromium_src-f8a6d73cfd917aa72bd8264ae1bc5c3ec4da24dc.tar.gz chromium_src-f8a6d73cfd917aa72bd8264ae1bc5c3ec4da24dc.tar.bz2 |
content: Move more constants from url_constants.h into content namespace.
BUG=98716
TBR=jam@chromium.org
Review URL: https://chromiumcodereview.appspot.com/12387070
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185784 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/webui')
-rw-r--r-- | content/browser/webui/web_ui_controller_factory_registry.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/content/browser/webui/web_ui_controller_factory_registry.cc b/content/browser/webui/web_ui_controller_factory_registry.cc index 7040a56..5e7bd63 100644 --- a/content/browser/webui/web_ui_controller_factory_registry.cc +++ b/content/browser/webui/web_ui_controller_factory_registry.cc @@ -87,10 +87,10 @@ bool WebUIControllerFactoryRegistry::IsURLAcceptableForWebUI( // See http://crbug.com/42547 url.spec() == chrome::kAboutBlankURL || // Chrome URLs crash, kill, hang, and shorthang are allowed. - url == GURL(chrome::kChromeUICrashURL) || - url == GURL(chrome::kChromeUIKillURL) || - url == GURL(chrome::kChromeUIHangURL) || - url == GURL(content::kChromeUIShorthangURL) || + url == GURL(kChromeUICrashURL) || + url == GURL(kChromeUIKillURL) || + url == GURL(kChromeUIHangURL) || + url == GURL(kChromeUIShorthangURL) || // Data URLs are usually not allowed in WebUI for security reasons. // BalloonHosts are one exception needed by ChromeOS, and are safe because // they cannot be scripted by other pages. |