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

Unified Diff: components/password_manager/sync/browser/sync_username_test_base.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/password_manager/sync/browser/sync_username_test_base.h
diff --git a/components/password_manager/sync/browser/sync_username_test_base.h b/components/password_manager/sync/browser/sync_username_test_base.h
index 975cca8661ad75ca57094eb19789d9b8bb22e7bd..6c5835c8f54ba7783f6f34576e1c9756802ef5d0 100644
--- a/components/password_manager/sync/browser/sync_username_test_base.h
+++ b/components/password_manager/sync/browser/sync_username_test_base.h
@@ -8,6 +8,8 @@
#ifndef COMPONENTS_PASSWORD_MANAGER_SYNC_BROWSER_SYNC_USERNAME_TEST_BASE_H_
#define COMPONENTS_PASSWORD_MANAGER_SYNC_BROWSER_SYNC_USERNAME_TEST_BASE_H_
+#include <string>
+
#include "components/autofill/core/common/password_form.h"
#include "components/pref_registry/testing_pref_service_syncable.h"
#include "components/signin/core/browser/account_tracker_service.h"
@@ -36,19 +38,17 @@ class SyncUsernameTestBase : public testing::Test {
// passwords.
void SetSyncingPasswords(bool syncing_passwords);
- const sync_driver::SyncService* sync_service() const {
- return &sync_service_;
- }
+ const syncer::SyncService* sync_service() const { return &sync_service_; }
const SigninManagerBase* signin_manager() { return &signin_manager_; }
private:
- class LocalFakeSyncService : public sync_driver::FakeSyncService {
+ class LocalFakeSyncService : public syncer::FakeSyncService {
public:
LocalFakeSyncService();
~LocalFakeSyncService() override;
- // sync_driver::SyncService:
+ // syncer::SyncService:
syncer::ModelTypeSet GetPreferredDataTypes() const override;
void set_syncing_passwords(bool syncing_passwords) {
« no previous file with comments | « components/password_manager/sync/browser/sync_credentials_filter.h ('k') | components/precache/content/precache_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698