Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(926)

Unified Diff: content/browser/webui/web_ui_controller_factory_registry.cc

Issue 12387070: content: Move more constants from url_constants.h into content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/web_contents/debug_urls.cc ('k') | content/public/common/url_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/webui/web_ui_controller_factory_registry.cc
diff --git a/content/browser/webui/web_ui_controller_factory_registry.cc b/content/browser/webui/web_ui_controller_factory_registry.cc
index 7040a56af40182558cb4ed0d753cc2ca0acde014..5e7bd63ae5b240c4ae11a0f827125e7071c4669f 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.
« no previous file with comments | « content/browser/web_contents/debug_urls.cc ('k') | content/public/common/url_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698