#include "extensions/shell/browser/shell_content_browser_client.h"
#include "extensions/shell/common/shell_content_client.h"
#include "extensions/shell/renderer/shell_content_renderer_client.h"
+#include "extensions/shell/utility/shell_content_utility_client.h"
#include "ui/base/resource/resource_bundle.h"
#if defined(OS_CHROMEOS)
return renderer_client_.get();
}
+content::ContentUtilityClient* ShellMainDelegate::CreateContentUtilityClient() {
+ utility_client_.reset(CreateShellContentUtilityClient());
+ return utility_client_.get();
+}
+
#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
void ShellMainDelegate::ZygoteStarting(
ScopedVector<content::ZygoteForkDelegate>* delegates) {
return new ShellContentRendererClient();
}
+content::ContentUtilityClient*
+ShellMainDelegate::CreateShellContentUtilityClient() {
+ return new ShellContentUtilityClient();
+}
+
void ShellMainDelegate::InitializeResourceBundle() {
base::FilePath extensions_shell_and_test_pak_path;
PathService::Get(base::DIR_MODULE, &extensions_shell_and_test_pak_path);