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

Unified Diff: components/autofill/core/browser/webdata/autofill_webdata_backend.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: Perform at most a single merge for new incoming sync data 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_backend.h
diff --git a/components/autofill/core/browser/webdata/autofill_webdata_backend.h b/components/autofill/core/browser/webdata/autofill_webdata_backend.h
index 8b06ffb926f53b07cac0ccb8307c976abdd9494f..3f138ba1f2925083bee26c2ba8a7bd402a1db18f 100644
--- a/components/autofill/core/browser/webdata/autofill_webdata_backend.h
+++ b/components/autofill/core/browser/webdata/autofill_webdata_backend.h
@@ -5,6 +5,8 @@
#ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_WEBDATA_BACKEND_H_
#define COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_WEBDATA_BACKEND_H_
+#include "sync/internal_api/public/base/model_type.h"
+
class WebDatabase;
namespace autofill {
@@ -36,6 +38,10 @@ class AutofillWebDataBackend {
// NOTE: This method is intended to be called from the DB thread. The UI
// thread notifications are asynchronous.
virtual void NotifyOfMultipleAutofillChanges() = 0;
+
+ // Notifies listeners on both DB and UI threads that sync has started for
Mathieu 2016/07/18 14:53:19 Not sure I see how DB thread observers are notifie
Roger McFarlane (Chromium) 2016/07/18 15:29:18 Copy-paste error, fixed.
+ // |model_type|.
+ virtual void NotifyThatSyncHasStarted(syncer::ModelType model_type) = 0;
};
} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698