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

Unified Diff: chrome/browser/sync/glue/autofill_wallet_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_wallet_data_type_controller.h
diff --git a/chrome/browser/sync/glue/autofill_wallet_data_type_controller.h b/chrome/browser/sync/glue/autofill_wallet_data_type_controller.h
index b8423897bac11e3daab46ffa94ea43dda3b7ce2b..f67ba59711c567f4fbe474ef093e0f5111a992bd 100644
--- a/chrome/browser/sync/glue/autofill_wallet_data_type_controller.h
+++ b/chrome/browser/sync/glue/autofill_wallet_data_type_controller.h
@@ -9,9 +9,6 @@
#include "base/prefs/pref_change_registrar.h"
#include "components/sync_driver/non_ui_data_type_controller.h"
-class Profile;
-class ProfileSyncComponentsFactory;
-
namespace browser_sync {
// Controls syncing of either AUTOFILL_WALLET or AUTOFILL_WALLET_METADATA.
@@ -20,8 +17,7 @@ class AutofillWalletDataTypeController
public:
// |model_type| should be either AUTOFILL_WALLET or AUTOFILL_WALLET_METADATA.
AutofillWalletDataTypeController(
- ProfileSyncComponentsFactory* profile_sync_factory,
- Profile* profile,
+ sync_driver::SyncClient* sync_client,
syncer::ModelType model_type);
// NonUIDataTypeController implementation.
@@ -45,7 +41,7 @@ class AutofillWalletDataTypeController
// Returns true if the prefs are set such that wallet sync should be enabled.
bool IsEnabled();
- Profile* const profile_;
+ sync_driver::SyncClient* const sync_client_;
bool callback_registered_;
syncer::ModelType model_type_;

Powered by Google App Engine
This is Rietveld 408576698