Index: webkit/quota/mock_quota_manager.cc |
diff --git a/webkit/quota/mock_quota_manager.cc b/webkit/quota/mock_quota_manager.cc |
index bac3fcc02a56b034b44c0f7d39707d1dc5a6fe54..1e8361fee773d75ae7e6b604d0807996e488742f 100644 |
--- a/webkit/quota/mock_quota_manager.cc |
+++ b/webkit/quota/mock_quota_manager.cc |
@@ -10,11 +10,8 @@ |
#include "base/memory/ref_counted.h" |
#include "base/memory/scoped_ptr.h" |
+#include "base/single_thread_task_runner.h" |
#include "googleurl/src/gurl.h" |
-#include "webkit/quota/quota_client.h" |
-#include "webkit/quota/quota_manager.h" |
-#include "webkit/quota/quota_task.h" |
-#include "webkit/quota/quota_types.h" |
namespace quota { |
@@ -24,7 +21,7 @@ class MockQuotaManager::GetModifiedSinceTask : public QuotaThreadTask { |
const std::set<GURL>& origins, |
StorageType type, |
const GetOriginsCallback& callback) |
- : QuotaThreadTask(manager, manager->io_thread_), |
+ : QuotaThreadTask(manager, manager->io_thread_.get()), |
origins_(origins), |
type_(type), |
callback_(callback) {} |
@@ -88,8 +85,8 @@ MockQuotaManager::OriginInfo::~OriginInfo() {} |
MockQuotaManager::MockQuotaManager( |
bool is_incognito, |
const FilePath& profile_path, |
- base::MessageLoopProxy* io_thread, |
- base::MessageLoopProxy* db_thread, |
+ base::SingleThreadTaskRunner* io_thread, |
+ base::SequencedTaskRunner* db_thread, |
SpecialStoragePolicy* special_storage_policy) |
: QuotaManager(is_incognito, profile_path, io_thread, db_thread, |
special_storage_policy) { |