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

Unified Diff: content/browser/service_worker/service_worker_cache_storage_manager_unittest.cc

Issue 562203002: Flush SimpleCache worker pool between all tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 3 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/service_worker/service_worker_cache_storage_manager_unittest.cc
diff --git a/content/browser/service_worker/service_worker_cache_storage_manager_unittest.cc b/content/browser/service_worker/service_worker_cache_storage_manager_unittest.cc
index de8a58ad3b81894661ba18bd1f4bf23777ae9d5a..e44618b2e3bf161e61ad2e8dbea065c6b5e173ed 100644
--- a/content/browser/service_worker/service_worker_cache_storage_manager_unittest.cc
+++ b/content/browser/service_worker/service_worker_cache_storage_manager_unittest.cc
@@ -12,7 +12,6 @@
#include "content/public/browser/browser_thread.h"
#include "content/public/test/test_browser_context.h"
#include "content/public/test/test_browser_thread_bundle.h"
-#include "net/disk_cache/simple/simple_backend_impl.h"
#include "net/url_request/url_request_context_getter.h"
#include "storage/browser/blob/blob_storage_context.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -53,12 +52,6 @@ class ServiceWorkerCacheStorageManagerTest : public testing::Test {
virtual void TearDown() OVERRIDE {
base::RunLoop().RunUntilIdle();
- disk_cache::SimpleBackendImpl::FlushWorkerPoolForTesting();
- base::RunLoop().RunUntilIdle();
- cache_manager_.reset();
- base::RunLoop().RunUntilIdle();
- disk_cache::SimpleBackendImpl::FlushWorkerPoolForTesting();
- base::RunLoop().RunUntilIdle();
}
virtual bool MemoryOnly() { return false; }
« no previous file with comments | « content/browser/browser_thread_impl.cc ('k') | content/browser/service_worker/service_worker_cache_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698