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

Unified Diff: chrome/browser/webdata/web_data_service.cc

Issue 10908065: Introduce a couple of abstract bases for WebDataService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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/webdata/web_data_service.cc
diff --git a/chrome/browser/webdata/web_data_service.cc b/chrome/browser/webdata/web_data_service.cc
index 84514fe7a6b367dcb7f81f9fdbc23cbf38ebfbb0..c893cd426f016bf72efe2f692ddbb193b22ae125 100644
--- a/chrome/browser/webdata/web_data_service.cc
+++ b/chrome/browser/webdata/web_data_service.cc
@@ -67,6 +67,11 @@ void NotifyOfMultipleAutofillChangesTask(
} // namespace
+// static
+AutofillWebData* AutofillWebData::ForService(WebDataServiceBase* service) {
+ return static_cast<WebDataService*>(service);
+}
+
WDAppImagesResult::WDAppImagesResult() : has_all_images(false) {}
WDAppImagesResult::~WDAppImagesResult() {}
@@ -81,8 +86,7 @@ WDKeywordsResult::WDKeywordsResult()
WDKeywordsResult::~WDKeywordsResult() {}
WebDataService::WebDataService()
- : RefcountedProfileKeyedService(BrowserThread::UI),
- is_running_(false),
+ : is_running_(false),
db_(NULL),
autocomplete_syncable_service_(NULL),
autofill_profile_syncable_service_(NULL),

Powered by Google App Engine
This is Rietveld 408576698