| Index: blimp/engine/browser_tests/navigation_browsertest.cc
|
| diff --git a/blimp/engine/browser_tests/navigation_browsertest.cc b/blimp/engine/browser_tests/navigation_browsertest.cc
|
| index e16e390cbd2487a91dcac6588efa60813c53788c..fc36c31834d11598617543a5291cd1010f74606e 100644
|
| --- a/blimp/engine/browser_tests/navigation_browsertest.cc
|
| +++ b/blimp/engine/browser_tests/navigation_browsertest.cc
|
| @@ -10,6 +10,7 @@
|
| #include "blimp/client/test/contents/mock_blimp_contents_observer.h"
|
| #include "blimp/client/test/test_blimp_client_context_delegate.h"
|
| #include "blimp/engine/browser_tests/blimp_browser_test.h"
|
| +#include "components/prefs/testing_pref_service.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "content/public/test/browser_test.h"
|
| #include "testing/gmock/include/gmock/gmock.h"
|
| @@ -40,13 +41,15 @@ class NavigationBrowserTest : public BlimpBrowserTest {
|
| void SetUpOnMainThread() override {
|
| BlimpBrowserTest::SetUpOnMainThread();
|
|
|
| + client::BlimpClientContext::RegisterPrefs(prefs_.registry());
|
| +
|
| context_ = base::WrapUnique<client::BlimpClientContext>(
|
| client::BlimpClientContext::Create(
|
| content::BrowserThread::GetTaskRunnerForThread(
|
| content::BrowserThread::IO),
|
| content::BrowserThread::GetTaskRunnerForThread(
|
| content::BrowserThread::FILE),
|
| - base::MakeUnique<client::MockCompositorDependencies>()));
|
| + base::MakeUnique<client::MockCompositorDependencies>(), &prefs_));
|
|
|
| delegate_ = base::MakeUnique<client::TestBlimpClientContextDelegate>();
|
| context_->SetDelegate(delegate_.get());
|
| @@ -106,6 +109,7 @@ class NavigationBrowserTest : public BlimpBrowserTest {
|
| std::unique_ptr<client::BlimpContents> contents_;
|
|
|
| private:
|
| + TestingPrefServiceSimple prefs_;
|
| DISALLOW_COPY_AND_ASSIGN(NavigationBrowserTest);
|
| };
|
|
|
|
|