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

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

Issue 7583053: Add MessageLoopProxy::current (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: No need for MessageLoopProxy destruction observer. Created 9 years, 4 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/geolocation/mock_location_provider.cc ('k') | content/common/url_fetcher.cc » ('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
diff --git a/content/browser/in_process_webkit/indexed_db_quota_client_unittest.cc b/content/browser/in_process_webkit/indexed_db_quota_client_unittest.cc
index 3f99a2b1726ac67056bd5b2073d3358396a1ceb3..eef661551d3e583e7584d2b88ab0431b4865b8de 100644
--- a/content/browser/in_process_webkit/indexed_db_quota_client_unittest.cc
+++ b/content/browser/in_process_webkit/indexed_db_quota_client_unittest.cc
@@ -154,7 +154,7 @@ class IndexedDBQuotaClientTest : public TestingBrowserProcessTest {
TEST_F(IndexedDBQuotaClientTest, GetOriginUsage) {
IndexedDBQuotaClient client(
- base::MessageLoopProxy::CreateForCurrentThread(),
+ base::MessageLoopProxy::current(),
idb_context());
AddFakeIndexedDB(kOriginA, 6);
@@ -173,7 +173,7 @@ TEST_F(IndexedDBQuotaClientTest, GetOriginUsage) {
TEST_F(IndexedDBQuotaClientTest, GetOriginsForHost) {
IndexedDBQuotaClient client(
- base::MessageLoopProxy::CreateForCurrentThread(),
+ base::MessageLoopProxy::current(),
idb_context());
EXPECT_EQ(kOriginA.host(), kOriginB.host());
@@ -199,7 +199,7 @@ TEST_F(IndexedDBQuotaClientTest, GetOriginsForHost) {
TEST_F(IndexedDBQuotaClientTest, GetOriginsForType) {
IndexedDBQuotaClient client(
- base::MessageLoopProxy::CreateForCurrentThread(),
+ base::MessageLoopProxy::current(),
idb_context());
EXPECT_TRUE(GetOriginsForType(&client, kTemp).empty());
@@ -215,7 +215,7 @@ TEST_F(IndexedDBQuotaClientTest, GetOriginsForType) {
TEST_F(IndexedDBQuotaClientTest, DeleteOrigin) {
IndexedDBQuotaClient client(
- base::MessageLoopProxy::CreateForCurrentThread(),
+ base::MessageLoopProxy::current(),
idb_context());
AddFakeIndexedDB(kOriginA, 1000);
« no previous file with comments | « content/browser/geolocation/mock_location_provider.cc ('k') | content/common/url_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698