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 c913506b341c460db6f7e48b3af5be01a53fb67c..894110185b42690ed5c8bbe27f1467e6ebab108d 100644 |
--- a/components/autofill/core/browser/personal_data_manager.h |
+++ b/components/autofill/core/browser/personal_data_manager.h |
@@ -36,6 +36,10 @@ class SigninManagerBase; |
class PersonalDataManagerFactory; |
#endif |
+namespace sync_driver { |
+class SyncService; |
+} |
+ |
namespace autofill { |
class AutofillInteractiveTest; |
class AutofillTest; |
@@ -75,6 +79,10 @@ class PersonalDataManager : public KeyedService, |
SigninManagerBase* signin_manager, |
bool is_off_the_record); |
+ // Called once the sync service is known to be instantiated and configured. |
+ // Note that it may not be started, but it's preferences can be queried. |
+ void OnSyncServiceConfigured(sync_driver::SyncService* sync_service); |
+ |
// WebDataServiceConsumer: |
void OnWebDataServiceRequestDone(WebDataServiceBase::Handle h, |
const WDTypedResult* result) override; |
@@ -484,6 +492,10 @@ class PersonalDataManager : public KeyedService, |
// An observer to listen for changes to prefs::kAutofillWalletImportEnabled. |
std::unique_ptr<BooleanPrefMember> wallet_enabled_pref_; |
+ // Set to true if autofill profile deduplication is enabled and needs to be |
+ // performed on the next data refresh. |
+ bool is_autofill_profile_dedupe_pending_ = false; |
+ |
DISALLOW_COPY_AND_ASSIGN(PersonalDataManager); |
}; |