Index: apps/shell/browser/shell_extensions_browser_client.cc |
diff --git a/apps/shell/browser/shell_extensions_browser_client.cc b/apps/shell/browser/shell_extensions_browser_client.cc |
index 769350c0e774a11d1a83fcf84952c49401ab4a49..054a7173197bc88fe7ca158908584c8b3594563c 100644 |
--- a/apps/shell/browser/shell_extensions_browser_client.cc |
+++ b/apps/shell/browser/shell_extensions_browser_client.cc |
@@ -7,6 +7,7 @@ |
#include "apps/shell/browser/shell_app_sorting.h" |
#include "apps/shell/browser/shell_extension_system_factory.h" |
#include "apps/shell/browser/shell_extension_web_contents_observer.h" |
+#include "apps/shell/browser/shell_runtime_api_delegate.h" |
#include "apps/shell/common/api/generated_api.h" |
#include "base/prefs/pref_service.h" |
#include "base/prefs/pref_service_factory.h" |
@@ -235,4 +236,10 @@ void ShellExtensionsBrowserClient::RegisterExtensionFunctions( |
apps::shell_api::GeneratedFunctionRegistry::RegisterAll(registry); |
} |
+scoped_ptr<RuntimeAPIDelegate> |
+ShellExtensionsBrowserClient::CreateRuntimeAPIDelegate( |
+ content::BrowserContext* context) const { |
+ return scoped_ptr<RuntimeAPIDelegate>(new apps::ShellRuntimeAPIDelegate()); |
+} |
+ |
} // namespace extensions |