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

Unified Diff: sync/notifier/invalidation_version_tracker.h

Issue 10407014: Rename InvalidationVersionTracker to InvalidationStateTracker in preparation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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 | « sync/notifier/invalidation_state_tracker.h ('k') | sync/notifier/non_blocking_invalidation_notifier.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/notifier/invalidation_version_tracker.h
===================================================================
--- sync/notifier/invalidation_version_tracker.h (revision 137567)
+++ sync/notifier/invalidation_version_tracker.h (working copy)
@@ -1,38 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-//
-// An InvalidationVersionTracker is an interface that handles getting
-// and setting (persisting) max invalidation versions.
-
-#ifndef SYNC_NOTIFIER_INVALIDATION_VERSION_TRACKER_H_
-#define SYNC_NOTIFIER_INVALIDATION_VERSION_TRACKER_H_
-
-#include <map>
-
-#include "base/basictypes.h"
-#include "sync/syncable/model_type.h"
-
-namespace sync_notifier {
-
-typedef std::map<syncable::ModelType, int64> InvalidationVersionMap;
-
-class InvalidationVersionTracker {
- public:
- InvalidationVersionTracker() {}
-
- virtual InvalidationVersionMap GetAllMaxVersions() const = 0;
-
- // |max_version| should be strictly greater than any existing max
- // version for |model_type|.
- virtual void SetMaxVersion(syncable::ModelType model_type,
- int64 max_version) = 0;
-
- protected:
- virtual ~InvalidationVersionTracker() {}
-};
-
-} // namespace sync_notifier
-
-#endif // SYNC_NOTIFIER_INVALIDATION_VERSION_TRACKER_H_
-
« no previous file with comments | « sync/notifier/invalidation_state_tracker.h ('k') | sync/notifier/non_blocking_invalidation_notifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698