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 65cbe6e6b6becbb5e696aba7db9c9966ae45e6d4..78b5befe72f960c79f9f4020c2a08b50874224bc 100644 |
--- a/components/webdata/common/web_database_service.h |
+++ b/components/webdata/common/web_database_service.h |
@@ -53,8 +53,10 @@ class WEBDATA_EXPORT WebDatabaseService |
typedef base::Callback<WebDatabase::State(WebDatabase*)> WriteTask; |
// Takes the path to the WebDatabase file. |
+ // WebDatabaseService lives on |ui_thread| and posts tasks to |db_thread|. |
WebDatabaseService(const base::FilePath& path, |
- const scoped_refptr<base::MessageLoopProxy>& ui_thread); |
+ const scoped_refptr<base::MessageLoopProxy>& ui_thread, |
+ const scoped_refptr<base::MessageLoopProxy>& db_thread); |
// Adds |table| as a WebDatabaseTable that will participate in |
// managing the database, transferring ownership. All calls to this |
@@ -145,6 +147,8 @@ class WEBDATA_EXPORT WebDatabaseService |
// True if the WebDatabase has loaded. |
bool db_loaded_; |
+ |
+ scoped_refptr<base::MessageLoopProxy> db_thread_; |
}; |
#endif // COMPONENTS_WEBDATA_COMMON_WEB_DATABASE_SERVICE_H_ |