Index: components/webdata/common/web_data_service_base.h |
diff --git a/components/webdata/common/web_data_service_base.h b/components/webdata/common/web_data_service_base.h |
index b80f4bcb491d4de1cbb5d0204ce442ac243f7466..7dcbcd55b97c63f9afb9169e28cdd15f877df3c4 100644 |
--- a/components/webdata/common/web_data_service_base.h |
+++ b/components/webdata/common/web_data_service_base.h |
@@ -8,7 +8,7 @@ |
#include "base/callback.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 "components/webdata/common/webdata_export.h" |
#include "sql/init_status.h" |
@@ -19,12 +19,13 @@ class WebDatabaseTable; |
namespace base { |
class Thread; |
+class MessageLoopProxy; |
} |
// Base for WebDataService class hierarchy. |
// WebDataServiceBase is destroyed on the UI thread. |
class WEBDATA_EXPORT WebDataServiceBase |
- : public base::RefCountedDeleteOnMessageLoop<WebDataServiceBase> { |
+ : public base::RefCountedDeleteOnTaskRunner<WebDataServiceBase> { |
public: |
// All requests return an opaque handle of the following type. |
typedef int Handle; |
@@ -82,7 +83,7 @@ class WEBDATA_EXPORT WebDataServiceBase |
virtual WebDatabase* GetDatabase(); |
protected: |
- friend class base::RefCountedDeleteOnMessageLoop<WebDataServiceBase>; |
+ friend class base::RefCountedDeleteOnTaskRunner<WebDataServiceBase>; |
friend class base::DeleteHelper<WebDataServiceBase>; |
virtual ~WebDataServiceBase(); |