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

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

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.h
diff --git a/components/sync/driver/directory_data_type_controller.h b/components/sync/driver/directory_data_type_controller.h
index 76fa60f244105328cffc940eee97f9904fe85135..1f0a8e88f2d091ea904f00b2ed6c17ea2b348a93 100644
--- a/components/sync/driver/directory_data_type_controller.h
+++ b/components/sync/driver/directory_data_type_controller.h
@@ -11,7 +11,8 @@
#include "components/sync/engine/model_safe_worker.h"
#include "components/sync/syncable/directory.h"
-namespace sync_driver {
+namespace syncer {
+
class ChangeProcessor;
// Base class for Directory based Data type controllers.
@@ -45,19 +46,19 @@ class DirectoryDataTypeController : public DataTypeController {
// Returns a ListValue representing all nodes for a specified type by querying
// the directory.
static std::unique_ptr<base::ListValue> GetAllNodesForTypeFromDirectory(
- syncer::ModelType type,
- syncer::syncable::Directory* directory);
+ ModelType type,
+ syncable::Directory* directory);
protected:
// |dump_stack| is called when an unrecoverable error occurs.
- DirectoryDataTypeController(syncer::ModelType type,
+ DirectoryDataTypeController(ModelType type,
const base::Closure& dump_stack,
SyncClient* sync_client);
// The model safe group of this data type. This should reflect the
// thread that should be used to modify the data type's native
// model.
- virtual syncer::ModelSafeGroup model_safe_group() const = 0;
+ virtual ModelSafeGroup model_safe_group() const = 0;
// Access to the ChangeProcessor for the type being controlled by |this|.
// Returns NULL if the ChangeProcessor isn't created or connected.
@@ -66,6 +67,6 @@ class DirectoryDataTypeController : public DataTypeController {
SyncClient* const sync_client_;
};
-} // namespace sync_driver
+} // namespace syncer
#endif // COMPONENTS_SYNC_DRIVER_DIRECTORY_DATA_TYPE_CONTROLLER_H__
« no previous file with comments | « components/sync/driver/data_type_status_table.cc ('k') | components/sync/driver/directory_data_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698