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

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

Issue 2388163002: [Sync] Move //components/sync to the syncer namespace, take 2. (Closed)
Patch Set: Rebase. 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 62a1720ab5ecb0ba115c70a1d80ecd9cfdfd4ac8..c1a2fbc1915fe45025022d24ef2f83c34fa5ac80 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 sync_driver {
+namespace syncer {
DirectoryDataTypeController::DirectoryDataTypeController(
- syncer::ModelType type,
+ 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(
- syncer::ModelType type,
- syncer::syncable::Directory* directory) {
+ ModelType type,
+ syncable::Directory* directory) {
DCHECK(directory);
- syncer::syncable::ReadTransaction trans(FROM_HERE, directory);
+ syncable::ReadTransaction trans(FROM_HERE, directory);
return directory->GetNodeDetailsForType(&trans, type);
}
-} // namespace sync_driver
+} // namespace syncer
« 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