| Index: webkit/quota/mock_quota_manager.cc
|
| diff --git a/webkit/quota/mock_quota_manager.cc b/webkit/quota/mock_quota_manager.cc
|
| index 595c43a56d60c3536f748ee131bfa500ce613a26..535fb650ddd53b48e6b261fb6ec45c87e150f04d 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) {
|
| @@ -96,8 +93,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) {
|
|
|