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

Unified Diff: sync/notifier/fake_invalidation_state_tracker.cc

Issue 294123004: Move some sync/notifier to components/invalidation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 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/fake_invalidation_state_tracker.h ('k') | sync/notifier/fake_invalidator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/notifier/fake_invalidation_state_tracker.cc
diff --git a/sync/notifier/fake_invalidation_state_tracker.cc b/sync/notifier/fake_invalidation_state_tracker.cc
deleted file mode 100644
index ccef53e19a91c5b0e325cf45e1f0dfe5ad5cb46a..0000000000000000000000000000000000000000
--- a/sync/notifier/fake_invalidation_state_tracker.cc
+++ /dev/null
@@ -1,55 +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/fake_invalidation_state_tracker.h"
-
-#include "base/bind.h"
-#include "base/callback.h"
-#include "base/location.h"
-#include "base/task_runner.h"
-#include "testing/gtest/include/gtest/gtest.h"
-
-namespace syncer {
-
-const int64 FakeInvalidationStateTracker::kMinVersion = kint64min;
-
-FakeInvalidationStateTracker::FakeInvalidationStateTracker() {}
-
-FakeInvalidationStateTracker::~FakeInvalidationStateTracker() {}
-
-void FakeInvalidationStateTracker::ClearAndSetNewClientId(
- const std::string& client_id) {
- Clear();
- invalidator_client_id_ = client_id;
-}
-
-std::string FakeInvalidationStateTracker::GetInvalidatorClientId() const {
- return invalidator_client_id_;
-}
-
-void FakeInvalidationStateTracker::SetBootstrapData(
- const std::string& data) {
- bootstrap_data_ = data;
-}
-
-std::string FakeInvalidationStateTracker::GetBootstrapData() const {
- return bootstrap_data_;
-}
-
-void FakeInvalidationStateTracker::SetSavedInvalidations(
- const UnackedInvalidationsMap& states) {
- unacked_invalidations_map_ = states;
-}
-
-UnackedInvalidationsMap
-FakeInvalidationStateTracker::GetSavedInvalidations() const {
- return unacked_invalidations_map_;
-}
-
-void FakeInvalidationStateTracker::Clear() {
- invalidator_client_id_.clear();
- bootstrap_data_.clear();
-}
-
-} // namespace syncer
« no previous file with comments | « sync/notifier/fake_invalidation_state_tracker.h ('k') | sync/notifier/fake_invalidator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698