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

Unified Diff: sync/test/trackable_mock_invalidation.cc

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 5 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/test/trackable_mock_invalidation.h ('k') | sync/tools/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/test/trackable_mock_invalidation.cc
diff --git a/sync/test/trackable_mock_invalidation.cc b/sync/test/trackable_mock_invalidation.cc
deleted file mode 100644
index 55b4896dbf1b616cbda171a07a029dcd6ad3c9fb..0000000000000000000000000000000000000000
--- a/sync/test/trackable_mock_invalidation.cc
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2014 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/test/trackable_mock_invalidation.h"
-
-#include <stdint.h>
-
-#include "sync/test/mock_invalidation_tracker.h"
-
-namespace syncer {
-
-TrackableMockInvalidation::TrackableMockInvalidation(
- bool is_unknown_version,
- int64_t version,
- const std::string& payload,
- MockInvalidationTracker* tracker,
- int tracking_id)
- : MockInvalidation(is_unknown_version, version, payload),
- tracker_(tracker),
- tracking_id_(tracking_id) {}
-
-TrackableMockInvalidation::~TrackableMockInvalidation() {
-}
-
-void TrackableMockInvalidation::Acknowledge() {
- if (tracker_) {
- tracker_->Acknowledge(tracking_id_);
- }
-}
-
-void TrackableMockInvalidation::Drop() {
- if (tracker_) {
- tracker_->Drop(tracking_id_);
- }
-}
-
-int TrackableMockInvalidation::GetTrackingId() {
- return tracking_id_;
-}
-
-} // namespace syncer
« no previous file with comments | « sync/test/trackable_mock_invalidation.h ('k') | sync/tools/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698