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

Unified Diff: components/webdata/common/web_data_service_backend.h

Issue 14081043: Hook up Autofill Backend interface to SyncableServices (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/webdata/common/web_data_service_backend.h
diff --git a/components/webdata/common/web_data_service_backend.h b/components/webdata/common/web_data_service_backend.h
index 0e1d8f247e7024761e519ddd4eabdb5f1bd1f299..5cf4216b76a4ecf46c5e99c7c010e318af04bffc 100644
--- a/components/webdata/common/web_data_service_backend.h
+++ b/components/webdata/common/web_data_service_backend.h
@@ -76,6 +76,9 @@ class WebDataServiceBackend
WebDatabase* database() { return db_.get(); }
+ // Asynchronously gets a weak ptr to |db_|.
+ void GetDatabaseAsync(const WebDatabaseService::DBCallback& callback);
+
private:
friend struct content::BrowserThread::DeleteOnThread<
content::BrowserThread::DB>;

Powered by Google App Engine
This is Rietveld 408576698