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

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

Issue 2376123003: [Sync] Move //components/sync to the syncer namespace. (Closed)
Patch Set: Rebase. Created 4 years, 3 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 e7b8be83664825edf0a40578399429e9e81df4e1..732da941c579e4a0d5b90e634db629d3fb09bbf7 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 sync_driver {
+namespace syncer {
class SyncClient;
}
namespace browser_sync {
// A class that manages the startup and shutdown of password sync.
-class PasswordDataTypeController : public sync_driver::NonUIDataTypeController,
- public sync_driver::SyncServiceObserver {
+class PasswordDataTypeController : public syncer::NonUIDataTypeController,
+ public syncer::SyncServiceObserver {
public:
// |dump_stack| is called when an unrecoverable error occurs.
PasswordDataTypeController(
const base::Closure& dump_stack,
- sync_driver::SyncClient* sync_client,
+ syncer::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 sync_driver::NonUIDataTypeController,
bool StartModels() override;
void StopModels() override;
- // sync_driver::SyncServiceObserver:
+ // syncer::SyncServiceObserver:
void OnStateChanged() override;
private:
- sync_driver::SyncClient* const sync_client_;
+ syncer::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