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

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

Issue 14679005: Create an AutofillBackend interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments pt 2 Created 7 years, 7 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_database_service.h
diff --git a/components/webdata/common/web_database_service.h b/components/webdata/common/web_database_service.h
index 1bdfca8504edc317b12d9360a1082f07262fc8f3..85f0ec7eda61444b1dad5887cee4cbab35e51b24 100644
--- a/components/webdata/common/web_database_service.h
+++ b/components/webdata/common/web_database_service.h
@@ -71,10 +71,14 @@ class WEBDATA_EXPORT WebDatabaseService
// Unloads database and will not reload.
virtual void ShutdownDatabase();
- // Gets a ptr to the WebDatabase (owned by WebDatabaseService).
+ // Gets a pointer to the WebDatabase (owned by WebDatabaseService).
// TODO(caitkp): remove this method once SyncServices no longer depend on it.
virtual WebDatabase* GetDatabaseOnDB() const;
+ // Returns a pointer to the WebDataServiceBackend (owned by
+ // WebDatabaseService).
Ilya Sherman 2013/05/09 05:04:24 nit: What does it mean for a scoped_refptr to be o
Cait (Slow) 2013/05/09 18:29:54 Done.
+ scoped_refptr<WebDataServiceBackend> GetBackend() const;
+
// Schedule an update/write task on the DB thread.
virtual void ScheduleDBTask(
const tracked_objects::Location& from_here,

Powered by Google App Engine
This is Rietveld 408576698