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

Unified Diff: components/sync/test/fake_server/entity_builder_factory.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
Index: components/sync/test/fake_server/entity_builder_factory.cc
diff --git a/sync/test/fake_server/entity_builder_factory.cc b/components/sync/test/fake_server/entity_builder_factory.cc
similarity index 70%
rename from sync/test/fake_server/entity_builder_factory.cc
rename to components/sync/test/fake_server/entity_builder_factory.cc
index a483f80fe60505dfa940eda1dd0d49dec996f8b0..75dfa8fd3009b70b53be53e0c637060e483a847a 100644
--- a/sync/test/fake_server/entity_builder_factory.cc
+++ b/components/sync/test/fake_server/entity_builder_factory.cc
@@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "sync/test/fake_server/entity_builder_factory.h"
+#include "components/sync/test/fake_server/entity_builder_factory.h"
#include <string>
#include "base/guid.h"
#include "base/strings/string_number_conversions.h"
-#include "sync/test/fake_server/bookmark_entity_builder.h"
+#include "components/sync/test/fake_server/bookmark_entity_builder.h"
#include "url/gurl.h"
using std::string;
@@ -16,21 +16,17 @@ using std::string;
namespace fake_server {
EntityBuilderFactory::EntityBuilderFactory()
- : cache_guid_(base::GenerateGUID()), latest_client_item_id_(0L) {
-}
+ : cache_guid_(base::GenerateGUID()), latest_client_item_id_(0L) {}
EntityBuilderFactory::EntityBuilderFactory(const string& cache_guid)
- : cache_guid_(cache_guid), latest_client_item_id_(0L) {
-}
+ : cache_guid_(cache_guid), latest_client_item_id_(0L) {}
-EntityBuilderFactory::~EntityBuilderFactory() {
-}
+EntityBuilderFactory::~EntityBuilderFactory() {}
BookmarkEntityBuilder EntityBuilderFactory::NewBookmarkEntityBuilder(
const string& title) {
--latest_client_item_id_;
- BookmarkEntityBuilder builder(title,
- cache_guid_,
+ BookmarkEntityBuilder builder(title, cache_guid_,
base::Int64ToString(latest_client_item_id_));
return builder;
}
« no previous file with comments | « components/sync/test/fake_server/entity_builder_factory.h ('k') | components/sync/test/fake_server/fake_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698