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..36ba74e19611813f16a14f0b0ea8101afc7fd3c2 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" |
@@ -240,6 +241,8 @@ class ExtensionGCMAppHandlerTest : public testing::Test { |
in_process_utility_thread_helper_.reset( |
new content::InProcessUtilityThreadHelper); |
+ shell_context_ = content::ShellContext::Create(); |
+ |
// This is needed to create extension service under CrOS. |
#if defined(OS_CHROMEOS) |
test_user_manager_.reset(new chromeos::ScopedTestUserManager()); |
@@ -397,6 +400,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_; |