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

Unified Diff: chrome/browser/extensions/test_extension_prefs.h

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head again, previous had unrelated broken win_rel test. Created 8 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/browser/extensions/test_extension_prefs.h
diff --git a/chrome/browser/extensions/test_extension_prefs.h b/chrome/browser/extensions/test_extension_prefs.h
index b4b92dde87de2377efa328d1bf27d524fe91d781..6949f15c1d124a5f585c5859314627e478585199 100644
--- a/chrome/browser/extensions/test_extension_prefs.h
+++ b/chrome/browser/extensions/test_extension_prefs.h
@@ -12,7 +12,7 @@
#include "chrome/common/extensions/extension.h"
class ExtensionPrefValueMap;
-class PrefService;
+class PrefServiceSyncable;
namespace base {
class DictionaryValue;
@@ -33,7 +33,7 @@ class TestExtensionPrefs {
const ExtensionPrefs& const_prefs() const {
return *prefs_.get();
}
- PrefService* pref_service() { return pref_service_.get(); }
+ PrefServiceSyncable* pref_service() { return pref_service_.get(); }
const FilePath& temp_dir() const { return temp_dir_.path(); }
const FilePath& extensions_dir() const { return extensions_dir_; }
@@ -65,7 +65,7 @@ class TestExtensionPrefs {
// assigned.
std::string AddExtensionAndReturnId(std::string name);
- PrefService* CreateIncognitoPrefService() const;
+ PrefServiceSyncable* CreateIncognitoPrefService() const;
// Allows disabling the loading of preferences of extensions. Becomes
// active after calling RecreateExtensionPrefs(). Defaults to false.
@@ -75,7 +75,7 @@ class TestExtensionPrefs {
base::ScopedTempDir temp_dir_;
FilePath preferences_file_;
FilePath extensions_dir_;
- scoped_ptr<PrefService> pref_service_;
+ scoped_ptr<PrefServiceSyncable> pref_service_;
scoped_ptr<ExtensionPrefs> prefs_;
scoped_ptr<ExtensionPrefValueMap> extension_pref_value_map_;
const scoped_refptr<base::SequencedTaskRunner> task_runner_;
« no previous file with comments | « chrome/browser/extensions/platform_app_browsertest.cc ('k') | chrome/browser/extensions/test_extension_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698