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

Unified Diff: sync/notifier/invalidation_state_tracker.cc

Issue 56113003: Implement new invalidations ack tracking system (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Modify drive TODO comment + rebase Created 7 years, 1 month 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/invalidator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/notifier/invalidation_state_tracker.cc
diff --git a/sync/notifier/invalidation_state_tracker.cc b/sync/notifier/invalidation_state_tracker.cc
index 335f3b2a61db1460d973d155a7d0247c74f47ac1..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644
--- a/sync/notifier/invalidation_state_tracker.cc
+++ b/sync/notifier/invalidation_state_tracker.cc
@@ -1,24 +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.
-
-#include "sync/notifier/invalidation_state_tracker.h"
-
-namespace syncer {
-
-InvalidationState::InvalidationState()
- : version(kint64min),
- expected(AckHandle::InvalidAckHandle()),
- current(AckHandle::InvalidAckHandle()) {
-}
-
-InvalidationState::~InvalidationState() {
-}
-
-bool operator==(const InvalidationState& lhs, const InvalidationState& rhs) {
- return lhs.version == rhs.version &&
- lhs.expected.Equals(rhs.expected) &&
- lhs.current.Equals(rhs.current);
-}
-
-} // namespace syncer
« no previous file with comments | « sync/notifier/invalidation_state_tracker.h ('k') | sync/notifier/invalidator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698