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

Unified Diff: chrome/browser/sync/glue/autofill_profile_data_type_controller.h

Issue 1310553005: [Sync] Replace ProfileSyncComponentsFactory with SyncClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Really fix GN Created 5 years, 4 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: chrome/browser/sync/glue/autofill_profile_data_type_controller.h
diff --git a/chrome/browser/sync/glue/autofill_profile_data_type_controller.h b/chrome/browser/sync/glue/autofill_profile_data_type_controller.h
index ec96d0de912649c8028929eedc87175ebf324dd0..cc8cca73cc6a8c9cab11b272f9499739802c3285 100644
--- a/chrome/browser/sync/glue/autofill_profile_data_type_controller.h
+++ b/chrome/browser/sync/glue/autofill_profile_data_type_controller.h
@@ -11,9 +11,6 @@
#include "components/autofill/core/browser/personal_data_manager_observer.h"
#include "components/sync_driver/non_ui_data_type_controller.h"
-class Profile;
-class ProfileSyncComponentsFactory;
-
namespace autofill {
class PersonalDataManager;
} // namespace autofill
@@ -25,8 +22,7 @@ class AutofillProfileDataTypeController
public autofill::PersonalDataManagerObserver {
public:
AutofillProfileDataTypeController(
- ProfileSyncComponentsFactory* profile_sync_factory,
- Profile* profile);
+ sync_driver::SyncClient* sync_client);
// NonUIDataTypeController implementation.
syncer::ModelType type() const override;
@@ -48,7 +44,7 @@ class AutofillProfileDataTypeController
// Callback to notify that WebDatabase has loaded.
void WebDatabaseLoaded();
- Profile* const profile_;
+ sync_driver::SyncClient* const sync_client_;
autofill::PersonalDataManager* personal_data_;
bool callback_registered_;

Powered by Google App Engine
This is Rietveld 408576698