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

Unified Diff: components/content_settings/core/browser/content_settings_default_provider.cc

Issue 1076153002: Coverting std::String() to ResourceIdentifier() in content_settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | « no previous file | components/content_settings/core/browser/content_settings_pref.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/content_settings/core/browser/content_settings_default_provider.cc
diff --git a/components/content_settings/core/browser/content_settings_default_provider.cc b/components/content_settings/core/browser/content_settings_default_provider.cc
index 07adc4d80961f04f9ca7cdc752e4cb87db3d2c31..704e2fd76b9d9ebb6634875124d4639172631fb7 100644
--- a/components/content_settings/core/browser/content_settings_default_provider.cc
+++ b/components/content_settings/core/browser/content_settings_default_provider.cc
@@ -267,7 +267,7 @@ bool DefaultProvider::SetWebsiteSetting(
NotifyObservers(ContentSettingsPattern(),
ContentSettingsPattern(),
content_type,
- std::string());
+ ResourceIdentifier());
return true;
}
@@ -423,7 +423,7 @@ void DefaultProvider::OnPreferenceChanged(const std::string& name) {
NotifyObservers(ContentSettingsPattern(),
ContentSettingsPattern(),
content_type,
- std::string());
+ ResourceIdentifier());
}
}
« no previous file with comments | « no previous file | components/content_settings/core/browser/content_settings_pref.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698