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

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

Issue 9425026: Remove getters for HTML5 related objects from the ResourceContext interface. Half of them weren't u… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 8 years, 10 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
« no previous file with comments | « content/browser/chrome_blob_storage_context.cc ('k') | content/browser/mock_resource_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/in_process_webkit/indexed_db_quota_client_unittest.cc
===================================================================
--- content/browser/in_process_webkit/indexed_db_quota_client_unittest.cc (revision 122771)
+++ content/browser/in_process_webkit/indexed_db_quota_client_unittest.cc (working copy)
@@ -42,11 +42,13 @@
usage_(0),
weak_factory_(ALLOW_THIS_IN_INITIALIZER_LIST(this)),
message_loop_(MessageLoop::TYPE_IO),
+ db_thread_(BrowserThread::DB, &message_loop_),
webkit_thread_(BrowserThread::WEBKIT_DEPRECATED, &message_loop_),
- file_thread_(BrowserThread::FILE_USER_BLOCKING, &message_loop_),
+ file_thread_(BrowserThread::FILE, &message_loop_),
+ file_user_blocking_thread_(
+ BrowserThread::FILE_USER_BLOCKING, &message_loop_),
io_thread_(BrowserThread::IO, &message_loop_) {
- TestBrowserContext browser_context;
- idb_context_ = BrowserContext::GetWebKitContext(&browser_context)->
+ idb_context_ = BrowserContext::GetWebKitContext(&browser_context_)->
indexed_db_context();
setup_temp_dir();
}
@@ -160,9 +162,12 @@
scoped_refptr<IndexedDBContext> idb_context_;
base::WeakPtrFactory<IndexedDBQuotaClientTest> weak_factory_;
MessageLoop message_loop_;
+ BrowserThreadImpl db_thread_;
BrowserThreadImpl webkit_thread_;
BrowserThreadImpl file_thread_;
+ BrowserThreadImpl file_user_blocking_thread_;
BrowserThreadImpl io_thread_;
+ TestBrowserContext browser_context_;
quota::QuotaStatusCode delete_status_;
};
« no previous file with comments | « content/browser/chrome_blob_storage_context.cc ('k') | content/browser/mock_resource_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698