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.h" | 8 #include "apps/shell/browser/shell_extension_system.h" |
9 #include "base/prefs/pref_service.h" | 9 #include "base/prefs/pref_service.h" |
10 #include "base/prefs/pref_service_factory.h" | 10 #include "base/prefs/pref_service_factory.h" |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 } | 115 } |
116 | 116 |
117 content::JavaScriptDialogManager* | 117 content::JavaScriptDialogManager* |
118 ShellExtensionsBrowserClient::GetJavaScriptDialogManager() { | 118 ShellExtensionsBrowserClient::GetJavaScriptDialogManager() { |
119 // TODO(jamescook): Create a JavaScriptDialogManager or reuse the one from | 119 // TODO(jamescook): Create a JavaScriptDialogManager or reuse the one from |
120 // content_shell. | 120 // content_shell. |
121 NOTREACHED(); | 121 NOTREACHED(); |
122 return NULL; | 122 return NULL; |
123 } | 123 } |
124 | 124 |
| 125 ApiActivityMonitor* ShellExtensionsBrowserClient::GetApiActivityMonitor( |
| 126 BrowserContext* context) { |
| 127 // app_shell doesn't monitor API function calls or events. |
| 128 return NULL; |
| 129 } |
| 130 |
125 std::vector<BrowserContextKeyedServiceFactory*> | 131 std::vector<BrowserContextKeyedServiceFactory*> |
126 ShellExtensionsBrowserClient::GetExtensionSystemDependencies() { | 132 ShellExtensionsBrowserClient::GetExtensionSystemDependencies() { |
127 return ShellExtensionSystem::GetDependencies(); | 133 return ShellExtensionSystem::GetDependencies(); |
128 } | 134 } |
129 | 135 |
130 ExtensionSystem* ShellExtensionsBrowserClient::CreateExtensionSystem( | 136 ExtensionSystem* ShellExtensionsBrowserClient::CreateExtensionSystem( |
131 BrowserContext* context) { | 137 BrowserContext* context) { |
132 return new ShellExtensionSystem(context); | 138 return new ShellExtensionSystem(context); |
133 } | 139 } |
134 | 140 |
135 } // namespace extensions | 141 } // namespace extensions |
OLD | NEW |