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

Unified Diff: components/sync/driver/directory_data_type_controller.cc

Issue 2388673002: Revert of [Sync] Move //components/sync to the syncer namespace. (patchset #5 id:40001 of https://co (Closed)
Patch Set: Created 4 years, 2 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/driver/directory_data_type_controller.cc
diff --git a/components/sync/driver/directory_data_type_controller.cc b/components/sync/driver/directory_data_type_controller.cc
index c1a2fbc1915fe45025022d24ef2f83c34fa5ac80..62a1720ab5ecb0ba115c70a1d80ecd9cfdfd4ac8 100644
--- a/components/sync/driver/directory_data_type_controller.cc
+++ b/components/sync/driver/directory_data_type_controller.cc
@@ -9,10 +9,10 @@
#include "components/sync/driver/sync_service.h"
#include "components/sync/syncable/syncable_read_transaction.h"
-namespace syncer {
+namespace sync_driver {
DirectoryDataTypeController::DirectoryDataTypeController(
- ModelType type,
+ syncer::ModelType type,
const base::Closure& dump_stack,
SyncClient* sync_client)
: DataTypeController(type, dump_stack), sync_client_(sync_client) {}
@@ -54,11 +54,11 @@ void DirectoryDataTypeController::DeactivateDataType(
// static
std::unique_ptr<base::ListValue>
DirectoryDataTypeController::GetAllNodesForTypeFromDirectory(
- ModelType type,
- syncable::Directory* directory) {
+ syncer::ModelType type,
+ syncer::syncable::Directory* directory) {
DCHECK(directory);
- syncable::ReadTransaction trans(FROM_HERE, directory);
+ syncer::syncable::ReadTransaction trans(FROM_HERE, directory);
return directory->GetNodeDetailsForType(&trans, type);
}
-} // namespace syncer
+} // namespace sync_driver
« no previous file with comments | « components/sync/driver/directory_data_type_controller.h ('k') | components/sync/driver/fake_data_type_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698