| 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" |
| 11 #include "apps/shell/common/api/generated_api.h" | 11 #include "apps/shell/common/api/generated_api.h" |
| 12 #include "base/prefs/pref_service.h" | 12 #include "base/prefs/pref_service.h" |
| 13 #include "base/prefs/pref_service_factory.h" | 13 #include "base/prefs/pref_service_factory.h" |
| 14 #include "base/prefs/testing_pref_store.h" | 14 #include "base/prefs/testing_pref_store.h" |
| 15 #include "components/user_prefs/pref_registry_syncable.h" | 15 #include "components/pref_registry/pref_registry_syncable.h" |
| 16 #include "components/user_prefs/user_prefs.h" | 16 #include "components/user_prefs/user_prefs.h" |
| 17 #include "extensions/browser/api/extensions_api_client.h" | 17 #include "extensions/browser/api/extensions_api_client.h" |
| 18 #include "extensions/browser/app_sorting.h" | 18 #include "extensions/browser/app_sorting.h" |
| 19 #include "extensions/browser/extension_function_registry.h" | 19 #include "extensions/browser/extension_function_registry.h" |
| 20 #include "extensions/browser/extension_host_delegate.h" | 20 #include "extensions/browser/extension_host_delegate.h" |
| 21 #include "extensions/browser/extension_prefs.h" | 21 #include "extensions/browser/extension_prefs.h" |
| 22 #include "extensions/common/api/generated_api.h" | 22 #include "extensions/common/api/generated_api.h" |
| 23 | 23 |
| 24 using content::BrowserContext; | 24 using content::BrowserContext; |
| 25 | 25 |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 } // namespace extensions | 240 } // namespace extensions |
| OLD | NEW |