Index: chrome/browser/extensions/extension_gcm_app_handler_unittest.cc |
diff --git a/chrome/browser/extensions/extension_gcm_app_handler_unittest.cc b/chrome/browser/extensions/extension_gcm_app_handler_unittest.cc |
index a04d0535df18bdc0b204a1b8c6ec43640192164d..0bea321bee93e56f260ad2e75f57b0d336c075d9 100644 |
--- a/chrome/browser/extensions/extension_gcm_app_handler_unittest.cc |
+++ b/chrome/browser/extensions/extension_gcm_app_handler_unittest.cc |
@@ -45,6 +45,7 @@ |
#include "components/signin/core/browser/signin_manager.h" |
#include "content/public/browser/browser_context.h" |
#include "content/public/browser/browser_thread.h" |
+#include "content/public/browser/shell_context.h" |
#include "content/public/test/test_browser_thread_bundle.h" |
#include "content/public/test/test_utils.h" |
#include "extensions/browser/extension_system.h" |
@@ -230,6 +231,7 @@ class ExtensionGCMAppHandlerTest : public testing::Test { |
// Overridden from test::Test: |
void SetUp() override { |
+ shell_context_ = content::ShellContext::Create(); |
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); |
// Make BrowserThread work in unittest. |
@@ -397,6 +399,7 @@ class ExtensionGCMAppHandlerTest : public testing::Test { |
std::unique_ptr<content::InProcessUtilityThreadHelper> |
in_process_utility_thread_helper_; |
std::unique_ptr<TestingProfile> profile_; |
+ std::unique_ptr<content::ShellContext> shell_context_; |
ExtensionService* extension_service_; // Not owned. |
base::ScopedTempDir temp_dir_; |