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

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

Issue 448953003: Fix IndexedDB tests to use a TestBrowserThreadBundle (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/indexed_db/indexed_db_backing_store_unittest.cc
diff --git a/content/browser/indexed_db/indexed_db_backing_store_unittest.cc b/content/browser/indexed_db/indexed_db_backing_store_unittest.cc
index c6628ff6f1f31be533cf69c3d4fc5dfce8b6c1a7..5a038aa9b65876ada34e1c50abc734d83b2b96fc 100644
--- a/content/browser/indexed_db/indexed_db_backing_store_unittest.cc
+++ b/content/browser/indexed_db/indexed_db_backing_store_unittest.cc
@@ -329,6 +329,9 @@ class IndexedDBBackingStoreTest : public testing::Test {
}
protected:
+ // Must be initialized before url_request_context_
+ content::TestBrowserThreadBundle thread_bundle_;
+
base::ScopedTempDir temp_dir_;
scoped_refptr<base::TestSimpleTaskRunner> task_runner_;
scoped_refptr<MockSpecialStoragePolicy> special_storage_policy_;
@@ -348,8 +351,6 @@ class IndexedDBBackingStoreTest : public testing::Test {
std::vector<IndexedDBBlobInfo> m_blob_info;
private:
- content::TestBrowserThreadBundle thread_bundle_;
-
DISALLOW_COPY_AND_ASSIGN(IndexedDBBackingStoreTest);
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698