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

Unified Diff: chrome/browser/sync/glue/autofill_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_data_type_controller.h
diff --git a/chrome/browser/sync/glue/autofill_data_type_controller.h b/chrome/browser/sync/glue/autofill_data_type_controller.h
index f8f8b59f9512f11dc52e6ccee985a81d3ee5c7a7..f9a4d9bec94109436e978f99dbfa77894fc73f00 100644
--- a/chrome/browser/sync/glue/autofill_data_type_controller.h
+++ b/chrome/browser/sync/glue/autofill_data_type_controller.h
@@ -12,9 +12,6 @@
#include "base/memory/ref_counted.h"
#include "components/sync_driver/non_ui_data_type_controller.h"
-class Profile;
-class ProfileSyncComponentsFactory;
-
namespace autofill {
class AutofillWebDataService;
} // namespace autofill
@@ -25,9 +22,7 @@ namespace browser_sync {
class AutofillDataTypeController
: public sync_driver::NonUIDataTypeController {
public:
- AutofillDataTypeController(
- ProfileSyncComponentsFactory* profile_sync_factory,
- Profile* profile);
+ explicit AutofillDataTypeController(sync_driver::SyncClient* sync_client);
// NonUIDataTypeController implementation.
syncer::ModelType type() const override;
@@ -53,7 +48,7 @@ class AutofillDataTypeController
// Callback once WebDatabase has loaded.
void WebDatabaseLoaded();
- Profile* const profile_;
+ sync_driver::SyncClient* const sync_client_;
DISALLOW_COPY_AND_ASSIGN(AutofillDataTypeController);
};
« no previous file with comments | « chrome/browser/sync/chrome_sync_client.cc ('k') | chrome/browser/sync/glue/autofill_data_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698