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

Unified Diff: components/sync/api/metadata_batch.cc

Issue 2401223002: [Sync] Renaming sync/api* to sync/model*. (Closed)
Patch Set: Missed a comment in a DEPS file, and rebasing. 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/api/metadata_batch.h ('k') | components/sync/api/metadata_change_list.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/api/metadata_batch.cc
diff --git a/components/sync/api/metadata_batch.cc b/components/sync/api/metadata_batch.cc
deleted file mode 100644
index f2b8f451d6f8f4e29c5f9d46ec8167aa2ac19c50..0000000000000000000000000000000000000000
--- a/components/sync/api/metadata_batch.cc
+++ /dev/null
@@ -1,31 +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 "components/sync/api/metadata_batch.h"
-
-#include <utility>
-
-namespace syncer {
-
-MetadataBatch::MetadataBatch() {}
-MetadataBatch::~MetadataBatch() {}
-
-EntityMetadataMap&& MetadataBatch::TakeAllMetadata() {
- return std::move(metadata_map_);
-}
-
-void MetadataBatch::AddMetadata(const std::string& storage_key,
- const sync_pb::EntityMetadata& metadata) {
- metadata_map_.insert(std::make_pair(storage_key, metadata));
-}
-
-const sync_pb::ModelTypeState& MetadataBatch::GetModelTypeState() const {
- return state_;
-}
-
-void MetadataBatch::SetModelTypeState(const sync_pb::ModelTypeState& state) {
- state_ = state;
-}
-
-} // namespace syncer
« no previous file with comments | « components/sync/api/metadata_batch.h ('k') | components/sync/api/metadata_change_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698