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

Unified Diff: components/sync/core/read_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
« no previous file with comments | « components/sync/core/read_node.cc ('k') | components/sync/core/read_transaction.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/core/read_transaction.h
diff --git a/sync/internal_api/public/read_transaction.h b/components/sync/core/read_transaction.h
similarity index 82%
rename from sync/internal_api/public/read_transaction.h
rename to components/sync/core/read_transaction.h
index 263a0473caafb53bed9ccb413194ae25df67949a..e5cf5a1fe1da0b355de4fddc85c70ea99ed5f319 100644
--- a/sync/internal_api/public/read_transaction.h
+++ b/components/sync/core/read_transaction.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef SYNC_INTERNAL_API_PUBLIC_READ_TRANSACTION_H_
-#define SYNC_INTERNAL_API_PUBLIC_READ_TRANSACTION_H_
+#ifndef COMPONENTS_SYNC_CORE_READ_TRANSACTION_H_
+#define COMPONENTS_SYNC_CORE_READ_TRANSACTION_H_
#include <stddef.h>
#include <stdint.h>
@@ -12,9 +12,9 @@
#include "base/compiler_specific.h"
#include "base/macros.h"
-#include "sync/api/attachments/attachment_id.h"
-#include "sync/base/sync_export.h"
-#include "sync/internal_api/public/base_transaction.h"
+#include "components/sync/api/attachments/attachment_id.h"
+#include "components/sync/base/sync_export.h"
+#include "components/sync/core/base_transaction.h"
namespace tracked_objects {
class Location;
@@ -33,8 +33,7 @@ struct UserShare;
class SYNC_EXPORT ReadTransaction : public BaseTransaction {
public:
// Start a new read-only transaction on the specified repository.
- ReadTransaction(const tracked_objects::Location& from_here,
- UserShare* share);
+ ReadTransaction(const tracked_objects::Location& from_here, UserShare* share);
// Resume the middle of a transaction. Will not close transaction.
ReadTransaction(UserShare* share, syncable::BaseTransaction* trans);
@@ -71,4 +70,4 @@ class SYNC_EXPORT ReadTransaction : public BaseTransaction {
} // namespace syncer
-#endif // SYNC_INTERNAL_API_PUBLIC_READ_TRANSACTION_H_
+#endif // COMPONENTS_SYNC_CORE_READ_TRANSACTION_H_
« no previous file with comments | « components/sync/core/read_node.cc ('k') | components/sync/core/read_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698