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

Unified Diff: components/sync/engine_impl/process_updates_util.h

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 | « components/sync/engine_impl/nudge_source.cc ('k') | components/sync/engine_impl/process_updates_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/engine_impl/process_updates_util.h
diff --git a/sync/engine/process_updates_util.h b/components/sync/engine_impl/process_updates_util.h
similarity index 60%
rename from sync/engine/process_updates_util.h
rename to components/sync/engine_impl/process_updates_util.h
index 48fa802379875bfba760b7a64b23ca389558303e..aaf224cc111a3b98c9ff59c14d888e0354ce7c43 100644
--- a/sync/engine/process_updates_util.h
+++ b/components/sync/engine_impl/process_updates_util.h
@@ -2,14 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef SYNC_ENGINE_PROCESS_UPDATES_UTIL_H_
-#define SYNC_ENGINE_PROCESS_UPDATES_UTIL_H_
+#ifndef COMPONENTS_SYNC_ENGINE_IMPL_PROCESS_UPDATES_UTIL_H_
+#define COMPONENTS_SYNC_ENGINE_IMPL_PROCESS_UPDATES_UTIL_H_
#include <stdint.h>
#include <vector>
-#include "sync/internal_api/public/base/model_type.h"
+#include "components/sync/base/model_type.h"
namespace sync_pb {
class SyncEntity;
@@ -31,13 +31,12 @@ struct UpdateCounters;
typedef std::vector<const sync_pb::SyncEntity*> SyncEntityList;
// Processes all the updates associated with a single ModelType.
-void ProcessDownloadedUpdates(
- syncable::Directory* dir,
- syncable::ModelNeutralWriteTransaction* trans,
- ModelType type,
- const SyncEntityList& applicable_updates,
- sessions::StatusController* status,
- UpdateCounters* counters);
+void ProcessDownloadedUpdates(syncable::Directory* dir,
+ syncable::ModelNeutralWriteTransaction* trans,
+ ModelType type,
+ const SyncEntityList& applicable_updates,
+ sessions::StatusController* status,
+ UpdateCounters* counters);
// Tombstones all entries of |type| whose versions are older than
// |version_watermark| unless they are type root or unsynced/unapplied.
@@ -48,4 +47,4 @@ void ExpireEntriesByVersion(syncable::Directory* dir,
} // namespace syncer
-#endif // SYNC_ENGINE_PROCESS_UPDATES_UTIL_H_
+#endif // COMPONENTS_SYNC_ENGINE_IMPL_PROCESS_UPDATES_UTIL_H_
« no previous file with comments | « components/sync/engine_impl/nudge_source.cc ('k') | components/sync/engine_impl/process_updates_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698