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

Unified Diff: components/autofill/core/browser/webdata/autofill_webdata_service_observer.h

Issue 2142123002: [Autofill] Run autofill-profile de-dupe after sync starts if sync is enabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Better logging and fix mathp's comments Created 4 years, 5 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/webdata/autofill_webdata_service_observer.h
diff --git a/components/autofill/core/browser/webdata/autofill_webdata_service_observer.h b/components/autofill/core/browser/webdata/autofill_webdata_service_observer.h
index e8bf79ca8a98e2ed42805de5b2f4065aed0e1fdd..7c83330d84d62ffe73391ed3b847686fb4b23f0a 100644
--- a/components/autofill/core/browser/webdata/autofill_webdata_service_observer.h
+++ b/components/autofill/core/browser/webdata/autofill_webdata_service_observer.h
@@ -6,6 +6,7 @@
#define COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_WEBDATA_SERVICE_OBSERVER_H_
#include "components/autofill/core/browser/webdata/autofill_change.h"
+#include "sync/internal_api/public/base/model_type.h"
namespace autofill {
@@ -36,6 +37,9 @@ class AutofillWebDataServiceObserverOnUIThread {
// Sync.
virtual void AutofillMultipleChanged() {}
+ // Called on UI thread when sync has started for |model_type|.
+ virtual void SyncStarted(syncer::ModelType /* model_type */) {}
+
protected:
virtual ~AutofillWebDataServiceObserverOnUIThread() {}
};

Powered by Google App Engine
This is Rietveld 408576698