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

Unified Diff: components/sync/api/entity_change.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/api/data_batch.h ('k') | components/sync/api/entity_change.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/api/entity_change.h
diff --git a/sync/api/entity_change.h b/components/sync/api/entity_change.h
similarity index 76%
rename from sync/api/entity_change.h
rename to components/sync/api/entity_change.h
index 60e512c734ebc8bf67b5f89d76b7978225beb868..dd6195649697ea2140e208cfde36701fc69d784f 100644
--- a/sync/api/entity_change.h
+++ b/components/sync/api/entity_change.h
@@ -2,24 +2,20 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef SYNC_API_ENTITY_CHANGE_H_
-#define SYNC_API_ENTITY_CHANGE_H_
+#ifndef COMPONENTS_SYNC_API_ENTITY_CHANGE_H_
+#define COMPONENTS_SYNC_API_ENTITY_CHANGE_H_
#include <string>
#include <vector>
-#include "sync/api/entity_data.h"
-#include "sync/base/sync_export.h"
+#include "components/sync/api/entity_data.h"
+#include "components/sync/base/sync_export.h"
namespace syncer_v2 {
class SYNC_EXPORT EntityChange {
public:
- enum ChangeType {
- ACTION_ADD,
- ACTION_UPDATE,
- ACTION_DELETE
- };
+ enum ChangeType { ACTION_ADD, ACTION_UPDATE, ACTION_DELETE };
static EntityChange CreateAdd(std::string client_tag, EntityDataPtr data);
static EntityChange CreateUpdate(std::string client_tag, EntityDataPtr data);
@@ -44,4 +40,4 @@ typedef std::vector<EntityChange> EntityChangeList;
} // namespace syncer_v2
-#endif // SYNC_API_ENTITY_CHANGE_H_
+#endif // COMPONENTS_SYNC_API_ENTITY_CHANGE_H_
« no previous file with comments | « components/sync/api/data_batch.h ('k') | components/sync/api/entity_change.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698