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

Unified Diff: components/autofill/core/browser/personal_data_manager.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/autofill/core/browser/personal_data_manager.h
diff --git a/components/autofill/core/browser/personal_data_manager.h b/components/autofill/core/browser/personal_data_manager.h
index bc9ff63de52708bc2d469d5f6079c39fc220f1c5..c2cfb39addf4f18752d2c317cf696185fdef7728 100644
--- a/components/autofill/core/browser/personal_data_manager.h
+++ b/components/autofill/core/browser/personal_data_manager.h
@@ -5,8 +5,11 @@
#ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_PERSONAL_DATA_MANAGER_H_
#define COMPONENTS_AUTOFILL_CORE_BROWSER_PERSONAL_DATA_MANAGER_H_
+#include <list>
#include <memory>
#include <set>
+#include <string>
+#include <unordered_set>
#include <vector>
#include "base/gtest_prod_util.h"
@@ -31,10 +34,6 @@ class PrefService;
class RemoveAutofillTester;
class SigninManagerBase;
-namespace sync_driver {
-class SyncService;
-}
-
namespace autofill {
class AutofillInteractiveTest;
class AutofillTest;
@@ -48,6 +47,10 @@ void SetProfiles(int, std::vector<autofill::AutofillProfile>*);
void SetCreditCards(int, std::vector<autofill::CreditCard>*);
} // namespace autofill_helper
+namespace syncer {
+class SyncService;
+} // namespace syncer
+
namespace autofill {
extern const char kFrecencyFieldTrialName[];
@@ -76,7 +79,7 @@ class PersonalDataManager : public KeyedService,
// Called once the sync service is known to be instantiated. Note that it may
// not be started, but it's preferences can be queried.
- void OnSyncServiceInitialized(sync_driver::SyncService* sync_service);
+ void OnSyncServiceInitialized(syncer::SyncService* sync_service);
// WebDataServiceConsumer:
void OnWebDataServiceRequestDone(WebDataServiceBase::Handle h,

Powered by Google App Engine
This is Rietveld 408576698