| 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/common/api/generated_api.h" | 7 #include "apps/common/api/generated_api.h" |
| 8 #include "apps/shell/browser/shell_app_sorting.h" | 8 #include "apps/shell/browser/shell_app_sorting.h" |
| 9 #include "apps/shell/browser/shell_extension_system_factory.h" | 9 #include "apps/shell/browser/shell_extension_system_factory.h" |
| 10 #include "apps/shell/browser/shell_extension_web_contents_observer.h" | 10 #include "apps/shell/browser/shell_extension_web_contents_observer.h" |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 ExtensionFunctionRegistry* registry) const { | 200 ExtensionFunctionRegistry* registry) const { |
| 201 // Generated APIs from lower-level modules. | 201 // Generated APIs from lower-level modules. |
| 202 extensions::core_api::GeneratedFunctionRegistry::RegisterAll(registry); | 202 extensions::core_api::GeneratedFunctionRegistry::RegisterAll(registry); |
| 203 apps::api::GeneratedFunctionRegistry::RegisterAll(registry); | 203 apps::api::GeneratedFunctionRegistry::RegisterAll(registry); |
| 204 | 204 |
| 205 // TODO(rockot): Remove dependency on src/chrome once we have some core APIs | 205 // TODO(rockot): Remove dependency on src/chrome once we have some core APIs |
| 206 // moved out. See http://crbug.com/349042. | 206 // moved out. See http://crbug.com/349042. |
| 207 extensions::api::GeneratedFunctionRegistry::RegisterAll(registry); | 207 extensions::api::GeneratedFunctionRegistry::RegisterAll(registry); |
| 208 } | 208 } |
| 209 | 209 |
| 210 void ShellExtensionsBrowserClient::AddExtensionPrefsObservers( |
| 211 content::BrowserContext* context, |
| 212 ExtensionPrefs* prefs) const {} |
| 213 |
| 210 } // namespace extensions | 214 } // namespace extensions |
| OLD | NEW |