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

Unified Diff: chrome/browser/sync/invalidations/invalidator_storage.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/sync/invalidations/invalidator_storage.h
diff --git a/chrome/browser/sync/invalidations/invalidator_storage.h b/chrome/browser/sync/invalidations/invalidator_storage.h
index 19164032760f679028233655d708b4d982bfb663..e13572bdfdc7cd4451aadd7ba8ebd9bdc85aa01d 100644
--- a/chrome/browser/sync/invalidations/invalidator_storage.h
+++ b/chrome/browser/sync/invalidations/invalidator_storage.h
@@ -15,7 +15,7 @@
#include "base/threading/thread_checker.h"
#include "sync/notifier/invalidation_state_tracker.h"
-class PrefService;
+class PrefServiceSyncable;
namespace base {
class DictionaryValue;
@@ -34,7 +34,7 @@ class InvalidatorStorage : public base::SupportsWeakPtr<InvalidatorStorage>,
public:
// |pref_service| may be NULL (for unit tests), but in that case no setter
// methods should be called. Does not own |pref_service|.
- explicit InvalidatorStorage(PrefService* pref_service);
+ explicit InvalidatorStorage(PrefServiceSyncable* pref_service);
virtual ~InvalidatorStorage();
// Erases invalidation versions and state stored on disk.
@@ -94,7 +94,7 @@ class InvalidatorStorage : public base::SupportsWeakPtr<InvalidatorStorage>,
syncer::InvalidationStateMap* map);
// May be NULL.
- PrefService* const pref_service_;
+ PrefServiceSyncable* const pref_service_;
DISALLOW_COPY_AND_ASSIGN(InvalidatorStorage);
};
« no previous file with comments | « chrome/browser/sync/glue/session_model_associator.cc ('k') | chrome/browser/sync/invalidations/invalidator_storage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698