Index: content/browser/service_worker/service_worker_cache_unittest.cc |
diff --git a/content/browser/service_worker/service_worker_cache_unittest.cc b/content/browser/service_worker/service_worker_cache_unittest.cc |
index 5aa521bb85271e082f22ee038cb65c50acb65f98..4480dba9acf3c6b1d14a8273131a925bfd9573ae 100644 |
--- a/content/browser/service_worker/service_worker_cache_unittest.cc |
+++ b/content/browser/service_worker/service_worker_cache_unittest.cc |
@@ -76,7 +76,6 @@ class ServiceWorkerCacheTest : public testing::Test { |
url_request_context, |
blob_storage_context->context()->AsWeakPtr()); |
} |
- CreateBackend(); |
} |
virtual void TearDown() OVERRIDE { |
@@ -123,15 +122,6 @@ class ServiceWorkerCacheTest : public testing::Test { |
GURL("http://example.com/no_body.html"), 200, "OK", headers, ""); |
} |
- void CreateBackend() { |
- scoped_ptr<base::RunLoop> loop(new base::RunLoop()); |
- cache_->CreateBackend(base::Bind(&ServiceWorkerCacheTest::ErrorTypeCallback, |
- base::Unretained(this), |
- base::Unretained(loop.get()))); |
- loop->Run(); |
- EXPECT_EQ(ServiceWorkerCache::ErrorTypeOK, callback_error_); |
- } |
- |
scoped_ptr<ServiceWorkerFetchRequest> CopyFetchRequest( |
const ServiceWorkerFetchRequest& request) { |
return make_scoped_ptr(new ServiceWorkerFetchRequest(request.url, |
@@ -293,7 +283,7 @@ TEST_P(ServiceWorkerCacheTestP, PutBody) { |
EXPECT_TRUE(Put(body_request_, body_response_)); |
} |
-TEST_P(ServiceWorkerCacheTestP, PutBodyDropBlobRef) { |
+TEST_F(ServiceWorkerCacheTest, PutBodyDropBlobRef) { |
scoped_ptr<base::RunLoop> loop(new base::RunLoop()); |
cache_->Put(CopyFetchRequest(body_request_), |
CopyFetchResponse(body_response_), |