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

Unified Diff: chrome/browser/api/webdata/web_data_service_base.h

Issue 12695015: Split Autofill webdata (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to the end of WDS pipeline Created 7 years, 9 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/api/webdata/web_data_service_base.h
diff --git a/chrome/browser/api/webdata/web_data_service_base.h b/chrome/browser/api/webdata/web_data_service_base.h
index 974dcd0b47747f34e5ac775e426eb2eb86066ee8..308fdbf63d21bcccd32ba24ae552a664626b46b7 100644
--- a/chrome/browser/api/webdata/web_data_service_base.h
+++ b/chrome/browser/api/webdata/web_data_service_base.h
@@ -39,7 +39,8 @@ class WebDataServiceBase
// |callback| will only be invoked on error, and only if
// |callback.is_null()| evaluates to false.
- explicit WebDataServiceBase(const ProfileErrorCallback& callback);
+ WebDataServiceBase(scoped_refptr<WebDatabaseService> wdbs,
+ const ProfileErrorCallback& callback);
// Cancel any pending request. You need to call this method if your
// WebDataServiceConsumer is about to be deleted.
@@ -92,7 +93,7 @@ class WebDataServiceBase
virtual void ShutdownOnDBThread();
// Our database service.
- scoped_ptr<WebDatabaseService> wdbs_;
+ scoped_refptr<WebDatabaseService> wdbs_;
// True if we've received a notification that the WebDatabase has loaded.
bool db_loaded_;

Powered by Google App Engine
This is Rietveld 408576698