blob: 75bc30f5f5733073017df50f8d18829230b2e9bc [file] [log] [blame]
[email protected]3a80ea332012-01-09 19:53:291// Copyright (c) 2012 The Chromium Authors. All rights reserved.
license.botbf09a502008-08-24 00:55:552// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
initial.commit09911bf2008-07-26 23:55:294
5#include "chrome/browser/browser_process_impl.h"
6
[email protected]38489a32012-05-11 02:24:547#include <algorithm>
[email protected]3cdacd42010-04-30 18:55:538#include <map>
[email protected]68f88b992011-05-07 02:01:399#include <vector>
[email protected]3cdacd42010-04-30 18:55:5310
[email protected]7a6af7e2014-07-08 20:11:1311#include "base/atomic_ref_count.h"
[email protected]b3cc0542011-11-19 22:43:4412#include "base/bind.h"
13#include "base/bind_helpers.h"
initial.commit09911bf2008-07-26 23:55:2914#include "base/command_line.h"
[email protected]6b4e6852012-02-14 04:02:4815#include "base/debug/alias.h"
[email protected]69c019472013-10-15 05:03:4716#include "base/debug/leak_annotations.h"
[email protected]c027d6d2014-06-05 15:25:4017#include "base/files/file_path.h"
[email protected]cc2ebc72014-07-15 23:57:3618#include "base/metrics/field_trial.h"
initial.commit09911bf2008-07-26 23:55:2919#include "base/path_service.h"
[email protected]03b9b4e2012-10-22 20:01:5220#include "base/prefs/json_pref_store.h"
[email protected]3853a4c2013-02-11 17:15:5721#include "base/prefs/pref_registry_simple.h"
22#include "base/prefs/pref_service.h"
[email protected]985655a2011-02-23 09:54:2523#include "base/synchronization/waitable_event.h"
[email protected]34b99632011-01-01 01:01:0624#include "base/threading/thread.h"
25#include "base/threading/thread_restrictions.h"
[email protected]72f93712014-05-19 15:10:3926#include "base/time/default_tick_clock.h"
[email protected]a07676b22011-06-17 16:36:5327#include "chrome/browser/background/background_mode_manager.h"
[email protected]c38831a12011-10-28 12:44:4928#include "chrome/browser/chrome_browser_main.h"
[email protected]572f40c9b2012-07-06 20:35:3329#include "chrome/browser/chrome_content_browser_client.h"
[email protected]fdf40f3e2013-07-11 23:55:4630#include "chrome/browser/chrome_notification_types.h"
[email protected]de0fdca22014-08-19 05:26:0931#include "chrome/browser/component_updater/chrome_component_updater_configurator.h"
[email protected]195c99c2012-10-31 06:24:5132#include "chrome/browser/defaults.h"
[email protected]70019152012-12-19 11:44:1933#include "chrome/browser/devtools/remote_debugging_server.h"
[email protected]254ed742011-08-16 18:45:2734#include "chrome/browser/download/download_request_limiter.h"
[email protected]75e51b52012-02-04 16:57:5435#include "chrome/browser/download/download_status_updater.h"
[email protected]815856722011-04-13 17:19:1936#include "chrome/browser/first_run/upgrade_util.h"
[email protected]a9830b52012-12-17 23:30:3637#include "chrome/browser/gpu/gl_string_manager.h"
[email protected]e6933d2a2013-03-12 22:32:2138#include "chrome/browser/gpu/gpu_mode_manager.h"
[email protected]dcefa302009-05-20 00:24:3939#include "chrome/browser/icon_manager.h"
[email protected]91901092013-01-31 01:53:5940#include "chrome/browser/idle.h"
[email protected]c4ff4952010-01-08 19:12:4741#include "chrome/browser/intranet_redirect_detector.h"
[email protected]0ac83682010-01-22 17:46:2742#include "chrome/browser/io_thread.h"
[email protected]2e6389f2012-05-18 19:41:2543#include "chrome/browser/lifetime/application_lifetime.h"
[email protected]c3cac952014-05-09 01:51:1844#include "chrome/browser/metrics/metrics_services_manager.h"
[email protected]0b565182011-03-02 18:11:1545#include "chrome/browser/metrics/thread_watcher.h"
[email protected]b2fcd0e2010-12-01 15:19:4046#include "chrome/browser/net/chrome_net_log.h"
[email protected]ca167a32011-09-30 15:19:1147#include "chrome/browser/net/crl_set_fetcher.h"
[email protected]29672ab2009-10-30 03:44:0348#include "chrome/browser/notifications/notification_ui_manager.h"
[email protected]8f4b69e2014-06-26 00:01:3149#include "chrome/browser/omaha_query_params/chrome_omaha_query_params_delegate.h"
[email protected]c2295f72013-01-03 22:18:5650#include "chrome/browser/plugins/chrome_plugin_service_filter.h"
[email protected]de75c702012-09-25 23:06:0251#include "chrome/browser/plugins/plugin_finder.h"
[email protected]caf63aea2011-04-26 11:04:1052#include "chrome/browser/prefs/browser_prefs.h"
[email protected]5b199522012-12-22 17:24:4453#include "chrome/browser/prefs/chrome_pref_service_factory.h"
[email protected]1459fb62011-05-25 19:03:2754#include "chrome/browser/prerender/prerender_tracker.h"
[email protected]68f88b992011-05-07 02:01:3955#include "chrome/browser/printing/background_printing_manager.h"
[email protected]e06131d2010-02-10 18:40:3356#include "chrome/browser/printing/print_job_manager.h"
[email protected]d8ce31e2012-12-19 05:09:2157#include "chrome/browser/printing/print_preview_dialog_controller.h"
[email protected]8ecad5e2010-12-02 21:18:3358#include "chrome/browser/profiles/profile_manager.h"
[email protected]8bcdf072011-06-03 16:52:1559#include "chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.h"
[email protected]81218f42009-02-05 18:48:0860#include "chrome/browser/safe_browsing/safe_browsing_service.h"
[email protected]e450fa62011-02-01 12:52:5661#include "chrome/browser/shell_integration.h"
[email protected]9e7f015f2011-05-28 00:24:2562#include "chrome/browser/status_icons/status_tray.h"
[email protected]ed100e32014-08-05 06:38:20