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

Unified Diff: chrome/common/content_settings_pattern_parser.cc

Issue 120593003: Move kFileScheme constant into content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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/common/content_settings_pattern_parser.cc
diff --git a/chrome/common/content_settings_pattern_parser.cc b/chrome/common/content_settings_pattern_parser.cc
index 06f579fa24bdf2cf76c81297246943c37ced3e73..c8c22ed9a3fc18bb1950e51a0b503269426c7f97 100644
--- a/chrome/common/content_settings_pattern_parser.cc
+++ b/chrome/common/content_settings_pattern_parser.cc
@@ -173,7 +173,7 @@ void PatternParser::Parse(const std::string& pattern_spec,
}
} else {
if (scheme != std::string(extensions::kExtensionScheme) &&
- scheme != std::string(chrome::kFileScheme))
+ scheme != std::string(content::kFileScheme))
builder->WithPortWildcard();
}
@@ -202,7 +202,7 @@ std::string PatternParser::ToString(
if (!parts.is_scheme_wildcard)
str += parts.scheme + content::kStandardSchemeSeparator;
- if (parts.scheme == chrome::kFileScheme) {
+ if (parts.scheme == content::kFileScheme) {
if (parts.is_path_wildcard)
return str + kUrlPathSeparator + kPathWildcard;
else
« no previous file with comments | « chrome/common/content_settings_pattern.cc ('k') | chrome/common/extensions/manifest_handlers/content_scripts_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698