OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "apps/shell/browser/shell_extensions_browser_client.h" | 5 #include "apps/shell/browser/shell_extensions_browser_client.h" |
6 | 6 |
7 #include "apps/shell/browser/shell_app_sorting.h" | 7 #include "apps/shell/browser/shell_app_sorting.h" |
8 #include "apps/shell/browser/shell_extension_system_factory.h" | 8 #include "apps/shell/browser/shell_extension_system_factory.h" |
9 #include "apps/shell/browser/shell_extension_web_contents_observer.h" | 9 #include "apps/shell/browser/shell_extension_web_contents_observer.h" |
10 #include "apps/shell/browser/shell_runtime_api_delegate.h" | 10 #include "apps/shell/browser/shell_runtime_api_delegate.h" |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 // Register chrome.shell APIs. | 230 // Register chrome.shell APIs. |
231 apps::shell_api::GeneratedFunctionRegistry::RegisterAll(registry); | 231 apps::shell_api::GeneratedFunctionRegistry::RegisterAll(registry); |
232 } | 232 } |
233 | 233 |
234 scoped_ptr<RuntimeAPIDelegate> | 234 scoped_ptr<RuntimeAPIDelegate> |
235 ShellExtensionsBrowserClient::CreateRuntimeAPIDelegate( | 235 ShellExtensionsBrowserClient::CreateRuntimeAPIDelegate( |
236 content::BrowserContext* context) const { | 236 content::BrowserContext* context) const { |
237 return scoped_ptr<RuntimeAPIDelegate>(new apps::ShellRuntimeAPIDelegate()); | 237 return scoped_ptr<RuntimeAPIDelegate>(new apps::ShellRuntimeAPIDelegate()); |
238 } | 238 } |
239 | 239 |
| 240 ComponentExtensionResourceManager* |
| 241 ShellExtensionsBrowserClient::GetComponentExtensionResourceManager() { |
| 242 return NULL; |
| 243 } |
| 244 |
240 } // namespace extensions | 245 } // namespace extensions |
OLD | NEW |