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/shell_browser_main_parts.h" | 5 #include "apps/shell/browser/shell_browser_main_parts.h" |
6 | 6 |
7 #include "apps/shell/shell_browser_context.h" | 7 #include "apps/shell/browser/shell_browser_context.h" |
8 #include "apps/shell/shell_extension_system.h" | 8 #include "apps/shell/browser/shell_extension_system.h" |
9 #include "apps/shell/shell_extensions_browser_client.h" | 9 #include "apps/shell/browser/shell_extensions_browser_client.h" |
10 #include "apps/shell/shell_extensions_client.h" | 10 #include "apps/shell/browser/web_view_window.h" |
11 #include "apps/shell/web_view_window.h" | 11 #include "apps/shell/common/shell_extensions_client.h" |
12 #include "base/command_line.h" | 12 #include "base/command_line.h" |
13 #include "base/file_util.h" | 13 #include "base/file_util.h" |
14 #include "base/files/file_path.h" | 14 #include "base/files/file_path.h" |
15 #include "base/run_loop.h" | 15 #include "base/run_loop.h" |
16 #include "components/browser_context_keyed_service/browser_context_dependency_ma
nager.h" | 16 #include "components/browser_context_keyed_service/browser_context_dependency_ma
nager.h" |
17 #include "content/public/common/result_codes.h" | 17 #include "content/public/common/result_codes.h" |
18 #include "extensions/browser/extension_system.h" | 18 #include "extensions/browser/extension_system.h" |
19 #include "extensions/browser/renderer_startup_helper.h" | 19 #include "extensions/browser/renderer_startup_helper.h" |
20 #include "ui/aura/env.h" | 20 #include "ui/aura/env.h" |
21 #include "ui/aura/root_window.h" | 21 #include "ui/aura/root_window.h" |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 } | 151 } |
152 | 152 |
153 void ShellBrowserMainParts::CreateExtensionSystem() { | 153 void ShellBrowserMainParts::CreateExtensionSystem() { |
154 DCHECK(browser_context_); | 154 DCHECK(browser_context_); |
155 extension_system_ = static_cast<ShellExtensionSystem*>( | 155 extension_system_ = static_cast<ShellExtensionSystem*>( |
156 ExtensionSystem::Get(browser_context_.get())); | 156 ExtensionSystem::Get(browser_context_.get())); |
157 extension_system_->InitForRegularProfile(true); | 157 extension_system_->InitForRegularProfile(true); |
158 } | 158 } |
159 | 159 |
160 } // namespace apps | 160 } // namespace apps |
OLD | NEW |