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

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

Issue 1662843002: Revert of Delete base/prefs and update callers to use components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 <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"
10 #include "base/run_loop.h" 11 #include "base/run_loop.h"
11 #include "build/build_config.h" 12 #include "build/build_config.h"
12 #include "components/devtools_http_handler/devtools_http_handler.h" 13 #include "components/devtools_http_handler/devtools_http_handler.h"
13 #include "components/keyed_service/content/browser_context_dependency_manager.h" 14 #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
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
OLDNEW
« no previous file with comments | « extensions/browser/lazy_background_task_queue_unittest.cc ('k') | extensions/shell/browser/shell_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698