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

Unified Diff: chrome/browser/sync/glue/autofill_data_type_controller.h

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: 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 e8fe6d79c15054f5c63e2338f568fd8f6dcdf29a..7fc275fcd62815efe79e6d94070576863aa66457 100644
--- a/chrome/browser/sync/glue/autofill_data_type_controller.h
+++ b/chrome/browser/sync/glue/autofill_data_type_controller.h
@@ -11,7 +11,7 @@
#include "base/gtest_prod_util.h"
#include "base/memory/ref_counted.h"
#include "chrome/browser/sync/glue/non_ui_data_type_controller.h"
-#include "components/autofill/browser/webdata/autofill_webdata_service_observer.h"
+#include "components/webdata/common/web_database_observer.h"
namespace autofill {
class AutofillWebDataService;
@@ -22,7 +22,7 @@ namespace browser_sync {
// A class that manages the startup and shutdown of autofill sync.
class AutofillDataTypeController
: public NonUIDataTypeController,
- public autofill::AutofillWebDataServiceObserverOnUIThread {
+ public WebDatabaseObserver {
public:
AutofillDataTypeController(
ProfileSyncComponentsFactory* profile_sync_factory,
@@ -37,7 +37,7 @@ class AutofillDataTypeController
// 163431 is addressed / implemented.
virtual void StartAssociating(const StartCallback& start_callback) OVERRIDE;
- // AutofillWebDataServiceObserverOnUIThread implementation.
+ // WebDatabaseObserver implementation.
virtual void WebDatabaseLoaded() OVERRIDE;
protected:

Powered by Google App Engine
This is Rietveld 408576698