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

Unified Diff: components/sync/syncable/syncable_write_transaction.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/syncable/syncable_write_transaction.h
diff --git a/sync/syncable/syncable_write_transaction.h b/components/sync/syncable/syncable_write_transaction.h
similarity index 83%
rename from sync/syncable/syncable_write_transaction.h
rename to components/sync/syncable/syncable_write_transaction.h
index 593647fbfc3cba345ae0e68d4d90dc3736b99570..05a2fe5283e5004812eefe0dd01485e2d1bbcd5c 100644
--- a/sync/syncable/syncable_write_transaction.h
+++ b/components/sync/syncable/syncable_write_transaction.h
@@ -2,17 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef SYNC_SYNCABLE_SYNCABLE_WRITE_TRANSACTION_H_
-#define SYNC_SYNCABLE_SYNCABLE_WRITE_TRANSACTION_H_
+#ifndef COMPONENTS_SYNC_SYNCABLE_SYNCABLE_WRITE_TRANSACTION_H_
+#define COMPONENTS_SYNC_SYNCABLE_SYNCABLE_WRITE_TRANSACTION_H_
#include <stdint.h>
#include <vector>
#include "base/macros.h"
-#include "sync/base/sync_export.h"
-#include "sync/syncable/entry_kernel.h"
-#include "sync/syncable/syncable_base_write_transaction.h"
+#include "components/sync/base/sync_export.h"
+#include "components/sync/syncable/entry_kernel.h"
+#include "components/sync/syncable/syncable_base_write_transaction.h"
namespace syncer {
namespace syncable {
@@ -23,7 +23,8 @@ SYNC_EXPORT extern const int64_t kInvalidTransactionVersion;
class SYNC_EXPORT WriteTransaction : public BaseWriteTransaction {
public:
WriteTransaction(const tracked_objects::Location& from_here,
- WriterTag writer, Directory* directory);
+ WriterTag writer,
+ Directory* directory);
// Constructor used for getting back transaction version after making sync
// API changes to one model. If model is changed by the transaction,
@@ -71,4 +72,4 @@ class SYNC_EXPORT WriteTransaction : public BaseWriteTransaction {
} // namespace syncable
} // namespace syncer
-#endif // SYNC_SYNCABLE_SYNCABLE_WRITE_TRANSACTION_H_
+#endif // COMPONENTS_SYNC_SYNCABLE_SYNCABLE_WRITE_TRANSACTION_H_
« no previous file with comments | « components/sync/syncable/syncable_util_unittest.cc ('k') | components/sync/syncable/syncable_write_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698