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

Unified Diff: components/sync/engine_impl/directory_commit_contributor.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/engine_impl/directory_commit_contributor.cc
diff --git a/sync/engine/directory_commit_contributor.cc b/components/sync/engine_impl/directory_commit_contributor.cc
similarity index 56%
rename from sync/engine/directory_commit_contributor.cc
rename to components/sync/engine_impl/directory_commit_contributor.cc
index 226b1b863f0f0c9939f8029c4206c3bc06335f32..a4cacf6ea9261b428f3486ca7258f111bc2a4c2d 100644
--- a/sync/engine/directory_commit_contributor.cc
+++ b/components/sync/engine_impl/directory_commit_contributor.cc
@@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "sync/engine/directory_commit_contributor.h"
+#include "components/sync/engine_impl/directory_commit_contributor.h"
#include <stddef.h>
-#include "sync/engine/directory_commit_contribution.h"
-#include "sync/sessions/directory_type_debug_info_emitter.h"
+#include "components/sync/engine_impl/directory_commit_contribution.h"
+#include "components/sync/sessions_impl/directory_type_debug_info_emitter.h"
namespace syncer {
@@ -15,16 +15,14 @@ DirectoryCommitContributor::DirectoryCommitContributor(
syncable::Directory* dir,
ModelType type,
DirectoryTypeDebugInfoEmitter* debug_info_emitter)
- : dir_(dir),
- type_(type),
- debug_info_emitter_(debug_info_emitter) {}
+ : dir_(dir), type_(type), debug_info_emitter_(debug_info_emitter) {}
DirectoryCommitContributor::~DirectoryCommitContributor() {}
std::unique_ptr<CommitContribution> DirectoryCommitContributor::GetContribution(
size_t max_entries) {
- return DirectoryCommitContribution::Build(
- dir_, type_, max_entries, debug_info_emitter_);
+ return DirectoryCommitContribution::Build(dir_, type_, max_entries,
+ debug_info_emitter_);
}
} // namespace syncer
« no previous file with comments | « components/sync/engine_impl/directory_commit_contributor.h ('k') | components/sync/engine_impl/directory_update_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698