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

Unified Diff: components/sync/core/read_node.cc

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.h ('k') | components/sync/core/read_transaction.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/core/read_node.cc
diff --git a/sync/internal_api/read_node.cc b/components/sync/core/read_node.cc
similarity index 92%
rename from sync/internal_api/read_node.cc
rename to components/sync/core/read_node.cc
index 023d30c037c4f81c23dc173d23dc75424115d002..a5966bfe6b1068d9f65aec8b12fc1009c512af84 100644
--- a/sync/internal_api/read_node.cc
+++ b/components/sync/core/read_node.cc
@@ -2,15 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "sync/internal_api/public/read_node.h"
+#include "components/sync/core/read_node.h"
#include <stdint.h>
#include "base/logging.h"
-#include "sync/internal_api/public/base_transaction.h"
-#include "sync/syncable/entry.h"
-#include "sync/syncable/syncable_base_transaction.h"
-#include "sync/syncable/syncable_util.h"
+#include "components/sync/core/base_transaction.h"
+#include "components/sync/syncable/entry.h"
+#include "components/sync/syncable/syncable_base_transaction.h"
+#include "components/sync/syncable/syncable_util.h"
namespace syncer {
@@ -112,7 +112,7 @@ BaseNode::InitByLookupResult ReadNode::InitTypeRoot(ModelType type) {
return INIT_FAILED_ENTRY_IS_DEL;
ModelType found_model_type = GetModelType();
LOG_IF(WARNING, found_model_type == UNSPECIFIED ||
- found_model_type == TOP_LEVEL_FOLDER)
+ found_model_type == TOP_LEVEL_FOLDER)
<< "SyncAPI InitTypeRoot referencing unusually typed object.";
return DecryptIfNecessary() ? INIT_OK : INIT_FAILED_DECRYPT_IF_NECESSARY;
}
« no previous file with comments | « components/sync/core/read_node.h ('k') | components/sync/core/read_transaction.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698