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

Unified Diff: chrome/browser/ui/webui/options/content_settings_handler.cc

Issue 7049007: Origin Identifier Value Map. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 9 years, 6 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/browser/ui/webui/options/content_settings_handler.cc
diff --git a/chrome/browser/ui/webui/options/content_settings_handler.cc b/chrome/browser/ui/webui/options/content_settings_handler.cc
index a135bd6c428406e5fb81a424d1323db1c4a12e4d..68b47164b05735ff2655459138a5ce684da6703d 100644
--- a/chrome/browser/ui/webui/options/content_settings_handler.cc
+++ b/chrome/browser/ui/webui/options/content_settings_handler.cc
@@ -662,7 +662,7 @@ void ContentSettingsHandler::RemoveException(const ListValue* args) {
// got destroyed before we received this message.
if (settings_map) {
settings_map->SetContentSetting(
- ContentSettingsPattern::LegacyFromString(pattern),
+ ContentSettingsPattern::FromString(pattern),
ContentSettingsTypeFromGroupName(type_string),
"",
CONTENT_SETTING_DEFAULT);
@@ -697,7 +697,7 @@ void ContentSettingsHandler::SetException(const ListValue* args) {
if (!settings_map)
return;
- settings_map->SetContentSetting(ContentSettingsPattern::LegacyFromString(
+ settings_map->SetContentSetting(ContentSettingsPattern::FromString(
pattern),
type,
"",
@@ -715,7 +715,7 @@ void ContentSettingsHandler::CheckExceptionPatternValidity(
CHECK(args->GetString(arg_i++, &pattern_string));
ContentSettingsPattern pattern =
- ContentSettingsPattern::LegacyFromString(pattern_string);
+ ContentSettingsPattern::FromString(pattern_string);
scoped_ptr<Value> mode_value(Value::CreateStringValue(mode_string));
scoped_ptr<Value> pattern_value(Value::CreateStringValue(pattern_string));

Powered by Google App Engine
This is Rietveld 408576698