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

Unified Diff: components/sync/engine_impl/worker_entity_tracker.cc

Issue 2388673002: Revert of [Sync] Move //components/sync to the syncer namespace. (patchset #5 id:40001 of https://co (Closed)
Patch Set: 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
Index: components/sync/engine_impl/worker_entity_tracker.cc
diff --git a/components/sync/engine_impl/worker_entity_tracker.cc b/components/sync/engine_impl/worker_entity_tracker.cc
index 2e0ca7bfb65e0c6e293915302b4d1becbc147779..5e428679e28ff503579135a682268052f0aef1d2 100644
--- a/components/sync/engine_impl/worker_entity_tracker.cc
+++ b/components/sync/engine_impl/worker_entity_tracker.cc
@@ -11,7 +11,7 @@
#include "components/sync/base/time.h"
#include "components/sync/syncable/syncable_util.h"
-namespace syncer {
+namespace syncer_v2 {
WorkerEntityTracker::WorkerEntityTracker(const std::string& client_tag_hash)
: client_tag_hash_(client_tag_hash) {
@@ -45,8 +45,8 @@ void WorkerEntityTracker::PopulateCommitProto(
commit_entity->set_name(entity.non_unique_name);
if (!entity.is_deleted()) {
- commit_entity->set_ctime(TimeToProtoTime(entity.creation_time));
- commit_entity->set_mtime(TimeToProtoTime(entity.modification_time));
+ commit_entity->set_ctime(syncer::TimeToProtoTime(entity.creation_time));
+ commit_entity->set_mtime(syncer::TimeToProtoTime(entity.modification_time));
commit_entity->mutable_specifics()->CopyFrom(entity.specifics);
}
}
@@ -199,4 +199,4 @@ void WorkerEntityTracker::ClearPendingCommit() {
pending_commit_specifics_hash_.clear();
}
-} // namespace syncer
+} // namespace syncer_v2
« no previous file with comments | « components/sync/engine_impl/worker_entity_tracker.h ('k') | components/sync/engine_impl/worker_entity_tracker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698