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

Unified Diff: content/browser/indexed_db/indexed_db_quota_client_unittest.cc

Issue 1159623009: content: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Test build fix. Created 5 years, 6 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: content/browser/indexed_db/indexed_db_quota_client_unittest.cc
diff --git a/content/browser/indexed_db/indexed_db_quota_client_unittest.cc b/content/browser/indexed_db/indexed_db_quota_client_unittest.cc
index f0befd24666f6d1136a8b84854e6dbf29ce92631..3bec0b045320fb612415eb7d82b9b0ffad916473 100644
--- a/content/browser/indexed_db/indexed_db_quota_client_unittest.cc
+++ b/content/browser/indexed_db/indexed_db_quota_client_unittest.cc
@@ -8,7 +8,6 @@
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
-#include "base/message_loop/message_loop.h"
#include "base/test/test_simple_task_runner.h"
#include "base/threading/thread.h"
#include "content/browser/browser_thread_impl.h"
@@ -44,10 +43,9 @@ class IndexedDBQuotaClientTest : public testing::Test {
browser_context_.reset(new TestBrowserContext());
scoped_refptr<storage::QuotaManager> quota_manager =
- new MockQuotaManager(false /*in_memory*/,
- browser_context_->GetPath(),
- base::MessageLoop::current()->message_loop_proxy(),
- base::MessageLoop::current()->message_loop_proxy(),
+ new MockQuotaManager(false /*in_memory*/, browser_context_->GetPath(),
+ base::MessageLoop::current()->task_runner(),
+ base::MessageLoop::current()->task_runner(),
browser_context_->GetSpecialStoragePolicy());
idb_context_ =
« no previous file with comments | « content/browser/indexed_db/indexed_db_quota_client.h ('k') | content/browser/indexed_db/indexed_db_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698