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

Unified Diff: components/sync_driver/invalidation_adapter.h

Issue 2203673002: [Sync] Move //components/sync_driver to //components/sync/driver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sd-a
Patch Set: Full change rebased on static lib. Created 4 years, 4 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
Index: components/sync_driver/invalidation_adapter.h
diff --git a/components/sync_driver/invalidation_adapter.h b/components/sync_driver/invalidation_adapter.h
deleted file mode 100644
index da86af1904c8f001bf86688ef822d221f5b1c554..0000000000000000000000000000000000000000
--- a/components/sync_driver/invalidation_adapter.h
+++ /dev/null
@@ -1,36 +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.
-
-#ifndef COMPONENTS_SYNC_DRIVER_INVALIDATION_ADAPTER_H_
-#define COMPONENTS_SYNC_DRIVER_INVALIDATION_ADAPTER_H_
-
-#include <stdint.h>
-
-#include <string>
-
-#include "components/invalidation/public/invalidation.h"
-#include "components/sync/base/invalidation_interface.h"
-
-namespace browser_sync {
-
-// Wraps a syncer::Invalidation in the syncer::InvalidationInterface.
-class InvalidationAdapter : public syncer::InvalidationInterface {
- public:
- explicit InvalidationAdapter(const syncer::Invalidation& invalidation);
- ~InvalidationAdapter() override;
-
- // Implementation of InvalidationInterface.
- bool IsUnknownVersion() const override;
- const std::string& GetPayload() const override;
- int64_t GetVersion() const override;
- void Acknowledge() override;
- void Drop() override;
-
- private:
- syncer::Invalidation invalidation_;
-};
-
-} // namespace browser_sync
-
-#endif // COMPONENTS_SYNC_DRIVER_INVALIDATION_ADAPTER_H_
« no previous file with comments | « components/sync_driver/glue/ui_model_worker_unittest.cc ('k') | components/sync_driver/invalidation_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698