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

Unified Diff: chrome/renderer/content_settings_observer.cc

Issue 149643010: Cleanup: Move kChromeUIScheme constant into content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
Index: chrome/renderer/content_settings_observer.cc
diff --git a/chrome/renderer/content_settings_observer.cc b/chrome/renderer/content_settings_observer.cc
index 2a5fbf506aefe0992d7805970a834b9279629dfb..22a0a80535ab470c563f6b00217c29e8862d4a04 100644
--- a/chrome/renderer/content_settings_observer.cc
+++ b/chrome/renderer/content_settings_observer.cc
@@ -396,7 +396,7 @@ bool ContentSettingsObserver::allowWebComponents(WebFrame* frame,
return true;
WebSecurityOrigin origin = frame->document().securityOrigin();
- if (EqualsASCII(origin.protocol(), chrome::kChromeUIScheme))
+ if (EqualsASCII(origin.protocol(), content::kChromeUIScheme))
return true;
if (const extensions::Extension* extension = GetExtension(origin)) {
@@ -633,7 +633,7 @@ bool ContentSettingsObserver::IsWhitelistedForContentSettings(
if (origin.isUnique())
return false; // Uninitialized document?
- if (EqualsASCII(origin.protocol(), chrome::kChromeUIScheme))
+ if (EqualsASCII(origin.protocol(), content::kChromeUIScheme))
return true; // Browser UI elements should still work.
if (EqualsASCII(origin.protocol(), chrome::kChromeDevToolsScheme))
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.cc ('k') | chrome/renderer/content_settings_observer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698