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

Unified Diff: components/password_manager/sync/browser/password_data_type_controller.h

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/password_manager/sync/browser/password_data_type_controller.h
diff --git a/components/password_manager/sync/browser/password_data_type_controller.h b/components/password_manager/sync/browser/password_data_type_controller.h
index 732da941c579e4a0d5b90e634db629d3fb09bbf7..e7b8be83664825edf0a40578399429e9e81df4e1 100644
--- a/components/password_manager/sync/browser/password_data_type_controller.h
+++ b/components/password_manager/sync/browser/password_data_type_controller.h
@@ -15,20 +15,20 @@ namespace password_manager {
class PasswordStore;
}
-namespace syncer {
+namespace sync_driver {
class SyncClient;
}
namespace browser_sync {
// A class that manages the startup and shutdown of password sync.
-class PasswordDataTypeController : public syncer::NonUIDataTypeController,
- public syncer::SyncServiceObserver {
+class PasswordDataTypeController : public sync_driver::NonUIDataTypeController,
+ public sync_driver::SyncServiceObserver {
public:
// |dump_stack| is called when an unrecoverable error occurs.
PasswordDataTypeController(
const base::Closure& dump_stack,
- syncer::SyncClient* sync_client,
+ sync_driver::SyncClient* sync_client,
const base::Closure& state_changed_callback,
const scoped_refptr<password_manager::PasswordStore>& password_store);
~PasswordDataTypeController() override;
@@ -43,11 +43,11 @@ class PasswordDataTypeController : public syncer::NonUIDataTypeController,
bool StartModels() override;
void StopModels() override;
- // syncer::SyncServiceObserver:
+ // sync_driver::SyncServiceObserver:
void OnStateChanged() override;
private:
- syncer::SyncClient* const sync_client_;
+ sync_driver::SyncClient* const sync_client_;
const base::Closure state_changed_callback_;
scoped_refptr<password_manager::PasswordStore> password_store_;

Powered by Google App Engine
This is Rietveld 408576698