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

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

Issue 1144153004: components: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 5 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_backend.h
diff --git a/components/webdata/common/web_database_backend.h b/components/webdata/common/web_database_backend.h
index 5d680bd68160b117a875c8cec1b053f16ebf4c39..9dc918e28109c4a8475be56f6ac697710cee5d83 100644
--- a/components/webdata/common/web_database_backend.h
+++ b/components/webdata/common/web_database_backend.h
@@ -13,6 +13,7 @@
#include "base/memory/ref_counted_delete_on_message_loop.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/scoped_vector.h"
+#include "base/single_thread_task_runner.h"
#include "components/webdata/common/web_database_service.h"
#include "components/webdata/common/webdata_export.h"
@@ -40,9 +41,10 @@ class WEBDATA_EXPORT WebDatabaseBackend
virtual void DBLoaded(sql::InitStatus status) = 0;
};
- WebDatabaseBackend(const base::FilePath& path,
- Delegate* delegate,
- const scoped_refptr<base::MessageLoopProxy>& db_thread);
+ WebDatabaseBackend(
+ const base::FilePath& path,
+ Delegate* delegate,
+ const scoped_refptr<base::SingleThreadTaskRunner>& db_thread);
// Must call only before InitDatabaseWithCallback.
void AddTable(scoped_ptr<WebDatabaseTable> table);
« no previous file with comments | « components/webdata/common/web_data_service_base.cc ('k') | components/webdata/common/web_database_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698