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

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

Issue 369703003: Reduce usage of MessageLoopProxy in base/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 2 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 3c766573d061b127351065c18b14a1461a304c8e..994a3ab721859a36f89f49209cf223bf5eca2d2c 100644
--- a/components/webdata/common/web_database_service.h
+++ b/components/webdata/common/web_database_service.h
@@ -14,7 +14,7 @@
#include "base/compiler_specific.h"
#include "base/files/file_path.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/ref_counted_delete_on_message_loop.h"
+#include "base/memory/ref_counted_delete_on_task_runner.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/message_loop/message_loop_proxy.h"
@@ -47,7 +47,7 @@ class WebDataServiceConsumer;
////////////////////////////////////////////////////////////////////////////////
class WEBDATA_EXPORT WebDatabaseService
- : public base::RefCountedDeleteOnMessageLoop<WebDatabaseService> {
+ : public base::RefCountedDeleteOnTaskRunner<WebDatabaseService> {
public:
typedef base::Callback<scoped_ptr<WDTypedResult>(WebDatabase*)> ReadTask;
typedef base::Callback<WebDatabase::State(WebDatabase*)> WriteTask;
@@ -115,7 +115,7 @@ class WEBDATA_EXPORT WebDatabaseService
private:
class BackendDelegate;
friend class BackendDelegate;
- friend class base::RefCountedDeleteOnMessageLoop<WebDatabaseService>;
+ friend class base::RefCountedDeleteOnTaskRunner<WebDatabaseService>;
friend class base::DeleteHelper<WebDatabaseService>;
typedef std::vector<DBLoadedCallback> LoadedCallbacks;
« no previous file with comments | « components/webdata/common/web_data_service_base.cc ('k') | components/webdata/common/web_database_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698