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

Unified Diff: components/sync/driver/invalidation_adapter.cc

Issue 2395533003: [Sync] Move some things from driver to base. (Closed)
Patch Set: Rebase. Created 4 years, 2 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 | « components/sync/driver/invalidation_adapter.h ('k') | components/sync/driver/invalidation_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/driver/invalidation_adapter.cc
diff --git a/components/sync/driver/invalidation_adapter.cc b/components/sync/driver/invalidation_adapter.cc
deleted file mode 100644
index 8e9226f0c0d38eb3af5330a5c4150a8b041dcd0e..0000000000000000000000000000000000000000
--- a/components/sync/driver/invalidation_adapter.cc
+++ /dev/null
@@ -1,34 +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 "components/sync/driver/invalidation_adapter.h"
-
-namespace syncer {
-
-InvalidationAdapter::InvalidationAdapter(const Invalidation& invalidation)
- : invalidation_(invalidation) {}
-
-InvalidationAdapter::~InvalidationAdapter() {}
-
-bool InvalidationAdapter::IsUnknownVersion() const {
- return invalidation_.is_unknown_version();
-}
-
-const std::string& InvalidationAdapter::GetPayload() const {
- return invalidation_.payload();
-}
-
-int64_t InvalidationAdapter::GetVersion() const {
- return invalidation_.version();
-}
-
-void InvalidationAdapter::Acknowledge() {
- invalidation_.Acknowledge();
-}
-
-void InvalidationAdapter::Drop() {
- invalidation_.Drop();
-}
-
-} // namespace syncer
« no previous file with comments | « components/sync/driver/invalidation_adapter.h ('k') | components/sync/driver/invalidation_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698