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

Unified Diff: chrome/browser/content_settings/host_content_settings_map.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
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/custom_home_pages_table_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/content_settings/host_content_settings_map.cc
diff --git a/chrome/browser/content_settings/host_content_settings_map.cc b/chrome/browser/content_settings/host_content_settings_map.cc
index 7b5cd0e56918a87f8d4a374b3359697f6bec8038..5871189c1ff49085e1a19ad12e75a6272cc64eb2 100644
--- a/chrome/browser/content_settings/host_content_settings_map.cc
+++ b/chrome/browser/content_settings/host_content_settings_map.cc
@@ -546,7 +546,7 @@ bool HostContentSettingsMap::ShouldAllowAllContent(
content_type == CONTENT_SETTINGS_TYPE_MIDI_SYSEX) {
return false;
}
- if (secondary_url.SchemeIs(chrome::kChromeUIScheme) &&
+ if (secondary_url.SchemeIs(content::kChromeUIScheme) &&
content_type == CONTENT_SETTINGS_TYPE_COOKIES &&
primary_url.SchemeIsSecure()) {
return true;
@@ -565,7 +565,7 @@ bool HostContentSettingsMap::ShouldAllowAllContent(
}
}
return primary_url.SchemeIs(chrome::kChromeDevToolsScheme) ||
- primary_url.SchemeIs(chrome::kChromeUIScheme);
+ primary_url.SchemeIs(content::kChromeUIScheme);
}
base::Value* HostContentSettingsMap::GetWebsiteSetting(
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/custom_home_pages_table_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698