| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "extensions/shell/browser/shell_browser_main_parts.h" | 5 #include "extensions/shell/browser/shell_browser_main_parts.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/prefs/pref_service.h" | |
| 11 #include "base/run_loop.h" | 10 #include "base/run_loop.h" |
| 12 #include "build/build_config.h" | 11 #include "build/build_config.h" |
| 13 #include "components/devtools_http_handler/devtools_http_handler.h" | 12 #include "components/devtools_http_handler/devtools_http_handler.h" |
| 14 #include "components/keyed_service/content/browser_context_dependency_manager.h" | 13 #include "components/keyed_service/content/browser_context_dependency_manager.h" |
| 14 #include "components/prefs/pref_service.h" |
| 15 #include "components/storage_monitor/storage_monitor.h" | 15 #include "components/storage_monitor/storage_monitor.h" |
| 16 #include "components/update_client/update_query_params.h" | 16 #include "components/update_client/update_query_params.h" |
| 17 #include "content/public/browser/child_process_security_policy.h" | 17 #include "content/public/browser/child_process_security_policy.h" |
| 18 #include "content/public/browser/context_factory.h" | 18 #include "content/public/browser/context_factory.h" |
| 19 #include "content/public/common/result_codes.h" | 19 #include "content/public/common/result_codes.h" |
| 20 #include "content/shell/browser/shell_devtools_manager_delegate.h" | 20 #include "content/shell/browser/shell_devtools_manager_delegate.h" |
| 21 #include "extensions/browser/app_window/app_window_client.h" | 21 #include "extensions/browser/app_window/app_window_client.h" |
| 22 #include "extensions/browser/browser_context_keyed_service_factories.h" | 22 #include "extensions/browser/browser_context_keyed_service_factories.h" |
| 23 #include "extensions/browser/extension_system.h" | 23 #include "extensions/browser/extension_system.h" |
| 24 #include "extensions/browser/updater/update_service.h" | 24 #include "extensions/browser/updater/update_service.h" |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 } | 282 } |
| 283 | 283 |
| 284 void ShellBrowserMainParts::CreateExtensionSystem() { | 284 void ShellBrowserMainParts::CreateExtensionSystem() { |
| 285 DCHECK(browser_context_); | 285 DCHECK(browser_context_); |
| 286 extension_system_ = static_cast<ShellExtensionSystem*>( | 286 extension_system_ = static_cast<ShellExtensionSystem*>( |
| 287 ExtensionSystem::Get(browser_context_.get())); | 287 ExtensionSystem::Get(browser_context_.get())); |
| 288 extension_system_->InitForRegularProfile(true); | 288 extension_system_->InitForRegularProfile(true); |
| 289 } | 289 } |
| 290 | 290 |
| 291 } // namespace extensions | 291 } // namespace extensions |
| OLD | NEW |