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

Unified Diff: components/sync/engine_impl/directory_update_handler.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
Index: components/sync/engine_impl/directory_update_handler.h
diff --git a/sync/engine/directory_update_handler.h b/components/sync/engine_impl/directory_update_handler.h
similarity index 84%
rename from sync/engine/directory_update_handler.h
rename to components/sync/engine_impl/directory_update_handler.h
index 9509ca5e9d7e533eefc2937c39fb7e510f396c0b..29ce2dc5068546e9e0e536e522f115c0f9a34486 100644
--- a/sync/engine/directory_update_handler.h
+++ b/components/sync/engine_impl/directory_update_handler.h
@@ -2,19 +2,19 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef SYNC_ENGINE_DIRECTORY_UPDATE_HANDLER_H_
-#define SYNC_ENGINE_DIRECTORY_UPDATE_HANDLER_H_
+#ifndef COMPONENTS_SYNC_ENGINE_IMPL_DIRECTORY_UPDATE_HANDLER_H_
+#define COMPONENTS_SYNC_ENGINE_IMPL_DIRECTORY_UPDATE_HANDLER_H_
#include <map>
#include <memory>
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "sync/base/sync_export.h"
-#include "sync/engine/process_updates_util.h"
-#include "sync/engine/update_handler.h"
-#include "sync/internal_api/public/base/model_type.h"
-#include "sync/internal_api/public/util/syncer_error.h"
+#include "components/sync/base/model_type.h"
+#include "components/sync/base/sync_export.h"
+#include "components/sync/base/syncer_error.h"
+#include "components/sync/engine_impl/process_updates_util.h"
+#include "components/sync/engine_impl/update_handler.h"
namespace sync_pb {
class DataTypeProgressMarker;
@@ -76,10 +76,9 @@ class SYNC_EXPORT DirectoryUpdateHandler : public UpdateHandler {
// Processes the given SyncEntities and stores their data in the directory.
// Their types must match this update handler's type.
- void UpdateSyncEntities(
- syncable::ModelNeutralWriteTransaction* trans,
- const SyncEntityList& applicable_updates,
- sessions::StatusController* status);
+ void UpdateSyncEntities(syncable::ModelNeutralWriteTransaction* trans,
+ const SyncEntityList& applicable_updates,
+ sessions::StatusController* status);
// Expires entries according to GC directives.
void ExpireEntriesIfNeeded(
@@ -112,4 +111,4 @@ class SYNC_EXPORT DirectoryUpdateHandler : public UpdateHandler {
} // namespace syncer
-#endif // SYNC_ENGINE_DIRECTORY_UPDATE_HANDLER_H_
+#endif // COMPONENTS_SYNC_ENGINE_IMPL_DIRECTORY_UPDATE_HANDLER_H_
« no previous file with comments | « components/sync/engine_impl/directory_commit_contributor.cc ('k') | components/sync/engine_impl/directory_update_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698