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

Unified Diff: chrome/browser/invalidation/invalidator_storage.h

Issue 13991017: Commit InvalidationService implementations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Another attempt to fix Android Created 7 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
Index: chrome/browser/invalidation/invalidator_storage.h
diff --git a/chrome/browser/sync/invalidations/invalidator_storage.h b/chrome/browser/invalidation/invalidator_storage.h
similarity index 87%
rename from chrome/browser/sync/invalidations/invalidator_storage.h
rename to chrome/browser/invalidation/invalidator_storage.h
index 9db657b2227d0f7d1bb64f3700680353b5e17479..e8b7ba558a87e9d7c509753c1956579c3a5be320 100644
--- a/chrome/browser/sync/invalidations/invalidator_storage.h
+++ b/chrome/browser/invalidation/invalidator_storage.h
@@ -6,8 +6,8 @@
// to use PrefService as persistence for invalidation state. It is not thread
// safe, and lives on the UI thread.
-#ifndef CHROME_BROWSER_SYNC_INVALIDATIONS_INVALIDATOR_STORAGE_H_
-#define CHROME_BROWSER_SYNC_INVALIDATIONS_INVALIDATOR_STORAGE_H_
+#ifndef CHROME_BROWSER_INVALIDATION_INVALIDATOR_STORAGE_H_
+#define CHROME_BROWSER_INVALIDATION_INVALIDATOR_STORAGE_H_
#include "base/basictypes.h"
#include "base/gtest_prod_util.h"
@@ -16,6 +16,7 @@
#include "sync/notifier/invalidation_state_tracker.h"
class PrefService;
+class PrefRegistrySyncable;
namespace base {
class DictionaryValue;
@@ -26,13 +27,8 @@ namespace user_prefs {
class PrefRegistrySyncable;
}
-namespace browser_sync {
+namespace invalidation {
-// TODO(tim): Bug 124137. We may want to move this outside of sync/ into a
-// browser/invalidations directory, or re-organize to have a browser
-// subdirectory that contains signin/ sync/ invalidations/ and other cloud
-// services. For now this is still tied to sync while we refactor, so minimize
-// churn and keep it here.
class InvalidatorStorage : public base::SupportsWeakPtr<InvalidatorStorage>,
public syncer::InvalidationStateTracker {
public:
@@ -104,6 +100,6 @@ class InvalidatorStorage : public base::SupportsWeakPtr<InvalidatorStorage>,
DISALLOW_COPY_AND_ASSIGN(InvalidatorStorage);
};
-} // namespace browser_sync
+} // namespace invalidation
-#endif // CHROME_BROWSER_SYNC_INVALIDATIONS_INVALIDATOR_STORAGE_H_
+#endif // CHROME_BROWSER_INVALIDATION_INVALIDATOR_STORAGE_H_

Powered by Google App Engine
This is Rietveld 408576698