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

Unified Diff: sync/notifier/invalidation_handler.h

Issue 12114012: Remove syncer::IncomingInvalidationSource (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove comment Created 7 years, 11 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 | « sync/notifier/fake_invalidator_unittest.cc ('k') | sync/notifier/invalidation_notifier.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/notifier/invalidation_handler.h
diff --git a/sync/notifier/invalidation_handler.h b/sync/notifier/invalidation_handler.h
index 057c37b20485328b6a5e1cb0397acf36f39a05f9..be85116fc57c7566ed094e7b4571148b5379848b 100644
--- a/sync/notifier/invalidation_handler.h
+++ b/sync/notifier/invalidation_handler.h
@@ -11,13 +11,6 @@
namespace syncer {
-enum IncomingInvalidationSource {
- // The server is notifying us that one or more objects have stale data.
- REMOTE_INVALIDATION,
- // Something locally is requesting an optimistic refresh of its data.
- LOCAL_INVALIDATION,
-};
-
class SYNC_EXPORT InvalidationHandler {
public:
// Called when the invalidator state changes.
@@ -27,8 +20,7 @@ class SYNC_EXPORT InvalidationHandler {
// |id_state_map| and the source is in |source|. Note that this may be
// called regardless of the current invalidator state.
virtual void OnIncomingInvalidation(
- const ObjectIdInvalidationMap& invalidation_map,
- IncomingInvalidationSource source) = 0;
+ const ObjectIdInvalidationMap& invalidation_map) = 0;
protected:
virtual ~InvalidationHandler() {}
« no previous file with comments | « sync/notifier/fake_invalidator_unittest.cc ('k') | sync/notifier/invalidation_notifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698