Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(184)

Side by Side Diff: extensions/shell/browser/shell_browser_main_parts.cc

Issue 583583008: Rename AppsClient -> AppWindowClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix mac & test Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/run_loop.h" 8 #include "base/run_loop.h"
9 #include "components/keyed_service/content/browser_context_dependency_manager.h" 9 #include "components/keyed_service/content/browser_context_dependency_manager.h"
10 #include "components/omaha_query_params/omaha_query_params.h" 10 #include "components/omaha_query_params/omaha_query_params.h"
11 #include "content/public/browser/child_process_security_policy.h" 11 #include "content/public/browser/child_process_security_policy.h"
12 #include "content/public/browser/context_factory.h" 12 #include "content/public/browser/context_factory.h"
13 #include "content/public/common/result_codes.h" 13 #include "content/public/common/result_codes.h"
14 #include "content/shell/browser/shell_devtools_delegate.h" 14 #include "content/shell/browser/shell_devtools_delegate.h"
15 #include "content/shell/browser/shell_net_log.h" 15 #include "content/shell/browser/shell_net_log.h"
16 #include "extensions/browser/app_window/apps_client.h" 16 #include "extensions/browser/app_window/app_window_client.h"
17 #include "extensions/browser/browser_context_keyed_service_factories.h" 17 #include "extensions/browser/browser_context_keyed_service_factories.h"
18 #include "extensions/browser/extension_system.h" 18 #include "extensions/browser/extension_system.h"
19 #include "extensions/common/constants.cc" 19 #include "extensions/common/constants.cc"
20 #include "extensions/shell/browser/shell_browser_context.h" 20 #include "extensions/shell/browser/shell_browser_context.h"
21 #include "extensions/shell/browser/shell_browser_main_delegate.h" 21 #include "extensions/shell/browser/shell_browser_main_delegate.h"
22 #include "extensions/shell/browser/shell_desktop_controller.h" 22 #include "extensions/shell/browser/shell_desktop_controller.h"
23 #include "extensions/shell/browser/shell_device_client.h" 23 #include "extensions/shell/browser/shell_device_client.h"
24 #include "extensions/shell/browser/shell_extension_system.h" 24 #include "extensions/shell/browser/shell_extension_system.h"
25 #include "extensions/shell/browser/shell_extension_system_factory.h" 25 #include "extensions/shell/browser/shell_extension_system_factory.h"
26 #include "extensions/shell/browser/shell_extensions_browser_client.h" 26 #include "extensions/shell/browser/shell_extensions_browser_client.h"
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 } 209 }
210 210
211 void ShellBrowserMainParts::CreateExtensionSystem() { 211 void ShellBrowserMainParts::CreateExtensionSystem() {
212 DCHECK(browser_context_); 212 DCHECK(browser_context_);
213 extension_system_ = static_cast<ShellExtensionSystem*>( 213 extension_system_ = static_cast<ShellExtensionSystem*>(
214 ExtensionSystem::Get(browser_context_.get())); 214 ExtensionSystem::Get(browser_context_.get()));
215 extension_system_->InitForRegularProfile(true); 215 extension_system_->InitForRegularProfile(true);
216 } 216 }
217 217
218 } // namespace extensions 218 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698