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: sync/api/metadata_batch.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/api/metadata_batch.h ('k') | sync/api/metadata_change_list.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/api/metadata_batch.cc
diff --git a/sync/api/metadata_batch.cc b/sync/api/metadata_batch.cc
deleted file mode 100644
index a172d1e0dedb68d6c4142e40df07d99abe78856e..0000000000000000000000000000000000000000
--- a/sync/api/metadata_batch.cc
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2016 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/api/metadata_batch.h"
-
-namespace syncer_v2 {
-
-MetadataBatch::MetadataBatch() {}
-MetadataBatch::~MetadataBatch() {}
-
-EntityMetadataMap&& MetadataBatch::TakeAllMetadata() {
- return std::move(metadata_map_);
-}
-
-void MetadataBatch::AddMetadata(const std::string& client_tag,
- const sync_pb::EntityMetadata& metadata) {
- metadata_map_.insert(std::make_pair(client_tag, metadata));
-}
-
-const sync_pb::DataTypeState& MetadataBatch::GetDataTypeState() const {
- return state_;
-}
-
-void MetadataBatch::SetDataTypeState(const sync_pb::DataTypeState& state) {
- state_ = state;
-}
-
-} // namespace syncer_v2
« no previous file with comments | « sync/api/metadata_batch.h ('k') | sync/api/metadata_change_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698