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

Unified Diff: components/autofill/browser/webdata/autofill_webdata_service.cc

Issue 14103021: Use Observer to notify of WebDB load instead of callbacks (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix WIN builds Created 7 years, 8 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/browser/webdata/autofill_webdata_service.cc
diff --git a/components/autofill/browser/webdata/autofill_webdata_service.cc b/components/autofill/browser/webdata/autofill_webdata_service.cc
index 51ce68611f6c221131568ea95cf51c8a18998b7f..12a6af72e2133b8daa8e44666e656d047d7fccf1 100644
--- a/components/autofill/browser/webdata/autofill_webdata_service.cc
+++ b/components/autofill/browser/webdata/autofill_webdata_service.cc
@@ -166,13 +166,6 @@ void AutofillWebDataService::RemoveObserver(
AutofillWebDataService::~AutofillWebDataService() {}
-void AutofillWebDataService::NotifyDatabaseLoadedOnUIThread() {
- // Notify that the database has been initialized.
- FOR_EACH_OBSERVER(AutofillWebDataServiceObserverOnUIThread,
- ui_observer_list_,
- WebDatabaseLoaded());
-}
-
////////////////////////////////////////////////////////////////////////////////
//
// Autofill implementation.

Powered by Google App Engine
This is Rietveld 408576698