Commit a4453a44 authored by rsleevi@chromium.org's avatar rsleevi@chromium.org

Add a TestBrowserThreadBundle to Shared Worker tests

BUG=395356

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288014 0039d316-1c4b-4281-b951-d872f2087c98
parent 68370d73
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
#include "content/browser/shared_worker/shared_worker_instance.h" #include "content/browser/shared_worker/shared_worker_instance.h"
#include "content/browser/shared_worker/worker_storage_partition.h" #include "content/browser/shared_worker/worker_storage_partition.h"
#include "content/public/test/test_browser_context.h" #include "content/public/test/test_browser_context.h"
#include "content/public/test/test_browser_thread_bundle.h"
#include "testing/gtest/include/gtest/gtest.h" #include "testing/gtest/include/gtest/gtest.h"
namespace content { namespace content {
...@@ -37,6 +38,7 @@ class SharedWorkerInstanceTest : public testing::Test { ...@@ -37,6 +38,7 @@ class SharedWorkerInstanceTest : public testing::Test {
browser_context_->GetResourceContext()); browser_context_->GetResourceContext());
} }
TestBrowserThreadBundle thread_bundle_;
scoped_ptr<TestBrowserContext> browser_context_; scoped_ptr<TestBrowserContext> browser_context_;
scoped_ptr<WorkerStoragePartition> partition_; scoped_ptr<WorkerStoragePartition> partition_;
const WorkerStoragePartitionId partition_id_; const WorkerStoragePartitionId partition_id_;
......
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