Commit 260340b5 authored by rsleevi@chromium.org's avatar rsleevi@chromium.org

Fix IndexedDB tests to use a TestBrowserThreadBundle

BUG=395358

Review URL: https://codereview.chromium.org/448953003

Cr-Commit-Position: refs/heads/master@{#290774}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290774 0039d316-1c4b-4281-b951-d872f2087c98
parent 6f2a9c85
...@@ -329,6 +329,9 @@ class IndexedDBBackingStoreTest : public testing::Test { ...@@ -329,6 +329,9 @@ class IndexedDBBackingStoreTest : public testing::Test {
} }
protected: protected:
// Must be initialized before url_request_context_
content::TestBrowserThreadBundle thread_bundle_;
base::ScopedTempDir temp_dir_; base::ScopedTempDir temp_dir_;
scoped_refptr<base::TestSimpleTaskRunner> task_runner_; scoped_refptr<base::TestSimpleTaskRunner> task_runner_;
scoped_refptr<MockSpecialStoragePolicy> special_storage_policy_; scoped_refptr<MockSpecialStoragePolicy> special_storage_policy_;
...@@ -348,8 +351,6 @@ class IndexedDBBackingStoreTest : public testing::Test { ...@@ -348,8 +351,6 @@ class IndexedDBBackingStoreTest : public testing::Test {
std::vector<IndexedDBBlobInfo> m_blob_info; std::vector<IndexedDBBlobInfo> m_blob_info;
private: private:
content::TestBrowserThreadBundle thread_bundle_;
DISALLOW_COPY_AND_ASSIGN(IndexedDBBackingStoreTest); DISALLOW_COPY_AND_ASSIGN(IndexedDBBackingStoreTest);
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment