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

Unified Diff: chrome/browser/extensions/extension_prefs.cc

Issue 10381097: Move content settings extension API to content_settings dir. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fixed conflict Created 8 years, 7 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/extensions/extension_prefs.h ('k') | chrome/browser/extensions/extension_prefs_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_prefs.cc
diff --git a/chrome/browser/extensions/extension_prefs.cc b/chrome/browser/extensions/extension_prefs.cc
index 3daf398d37c0cd528882945f1fc882eb54764412..5fb0bb43f3d2fa1d131de8315c7fc2c08f18644a 100644
--- a/chrome/browser/extensions/extension_prefs.cc
+++ b/chrome/browser/extensions/extension_prefs.cc
@@ -250,7 +250,7 @@ ExtensionPrefs::ExtensionPrefs(
extension_pref_value_map_(extension_pref_value_map),
ALLOW_THIS_IN_INITIALIZER_LIST(extension_sorting_(
new ExtensionSorting(this, prefs))),
- content_settings_store_(new ExtensionContentSettingsStore()) {
+ content_settings_store_(new extensions::ContentSettingsStore()) {
}
ExtensionPrefs::~ExtensionPrefs() {
@@ -1776,13 +1776,13 @@ void ExtensionPrefs::InitPrefStore(bool extensions_disabled) {
ListValue* content_settings = NULL;
if (extension_prefs->GetList(kPrefContentSettings,
&content_settings)) {
- content_settings_store_->SetExtensionContentSettingsFromList(
+ content_settings_store_->SetExtensionContentSettingFromList(
*ext_id, content_settings,
kExtensionPrefsScopeRegular);
}
if (extension_prefs->GetList(kPrefIncognitoContentSettings,
&content_settings)) {
- content_settings_store_->SetExtensionContentSettingsFromList(
+ content_settings_store_->SetExtensionContentSettingFromList(
*ext_id, content_settings,
kExtensionPrefsScopeIncognitoPersistent);
}
« no previous file with comments | « chrome/browser/extensions/extension_prefs.h ('k') | chrome/browser/extensions/extension_prefs_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698