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

Unified Diff: components/autofill/core/browser/personal_data_manager.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/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 c2cfb39addf4f18752d2c317cf696185fdef7728..bc9ff63de52708bc2d469d5f6079c39fc220f1c5 100644
--- a/components/autofill/core/browser/personal_data_manager.h
+++ b/components/autofill/core/browser/personal_data_manager.h
@@ -5,11 +5,8 @@
#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"
@@ -34,6 +31,10 @@ class PrefService;
class RemoveAutofillTester;
class SigninManagerBase;
+namespace sync_driver {
+class SyncService;
+}
+
namespace autofill {
class AutofillInteractiveTest;
class AutofillTest;
@@ -47,10 +48,6 @@ 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[];
@@ -79,7 +76,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(syncer::SyncService* sync_service);
+ void OnSyncServiceInitialized(sync_driver::SyncService* sync_service);
// WebDataServiceConsumer:
void OnWebDataServiceRequestDone(WebDataServiceBase::Handle h,

Powered by Google App Engine
This is Rietveld 408576698