Chromium Code Reviews| Index: blimp/engine/common/blimp_browser_context_unittest.cc |
| diff --git a/blimp/engine/common/blimp_browser_context_unittest.cc b/blimp/engine/common/blimp_browser_context_unittest.cc |
| index f32c7f17b6ea0e42bdb8f7fd8e36d712037e78c0..07624db8a79223f462569a515361f68b80903e18 100644 |
| --- a/blimp/engine/common/blimp_browser_context_unittest.cc |
| +++ b/blimp/engine/common/blimp_browser_context_unittest.cc |
| @@ -7,6 +7,7 @@ |
| #include "base/metrics/user_metrics.h" |
| #include "base/threading/thread_task_runner_handle.h" |
| #include "components/metrics/metrics_service.h" |
| +#include "content/public/browser/notification_service.h" |
| #include "content/public/test/test_browser_thread_bundle.h" |
| #include "net/log/net_log.h" |
| #include "testing/gtest/include/gtest/gtest.h" |
| @@ -20,7 +21,11 @@ class BlimpBrowserContextTest : public testing::Test { |
| protected: |
| void SetUp() override { |
| + // Set up NotificationService |
|
Wez
2016/06/10 23:50:10
nit: Punctuation at end of line, and clarify _why_
xyzzyz
2016/06/17 20:16:58
Done.
|
| + notification_service_.reset(content::NotificationService::Create()); |
| + |
| base::SetRecordActionTaskRunner(base::ThreadTaskRunnerHandle::Get()); |
| + |
| // Create BlimpBrowserContext. |
| browser_context_.reset(new BlimpBrowserContext(false /* off_the_record */, |
| &net_log_)); |
| @@ -35,6 +40,7 @@ class BlimpBrowserContextTest : public testing::Test { |
| private: |
| content::TestBrowserThreadBundle thread_bundle_; |
| + std::unique_ptr<content::NotificationService> notification_service_; |
| net::NetLog net_log_; |
| std::unique_ptr<BlimpBrowserContext> browser_context_; |