| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/browser/browser_shutdown.h" | 5 #include "chrome/browser/browser_shutdown.h" |
| 6 | 6 |
| 7 #include <map> | 7 #include <map> |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 #include "chrome/browser/prefs/pref_service.h" | 28 #include "chrome/browser/prefs/pref_service.h" |
| 29 #include "chrome/browser/profiles/profile_manager.h" | 29 #include "chrome/browser/profiles/profile_manager.h" |
| 30 #include "chrome/browser/service/service_process_control.h" | 30 #include "chrome/browser/service/service_process_control.h" |
| 31 #include "chrome/browser/ui/browser_list.h" | 31 #include "chrome/browser/ui/browser_list.h" |
| 32 #include "chrome/browser/ui/webui/chrome_url_data_manager.h" | 32 #include "chrome/browser/ui/webui/chrome_url_data_manager.h" |
| 33 #include "chrome/common/chrome_paths.h" | 33 #include "chrome/common/chrome_paths.h" |
| 34 #include "chrome/common/chrome_switches.h" | 34 #include "chrome/common/chrome_switches.h" |
| 35 #include "chrome/common/pref_names.h" | 35 #include "chrome/common/pref_names.h" |
| 36 #include "chrome/common/switch_utils.h" | 36 #include "chrome/common/switch_utils.h" |
| 37 #include "content/browser/plugin_process_host.h" | 37 #include "content/browser/plugin_process_host.h" |
| 38 #include "content/browser/renderer_host/render_process_host.h" | |
| 39 #include "content/browser/renderer_host/render_view_host.h" | 38 #include "content/browser/renderer_host/render_view_host.h" |
| 40 #include "content/browser/renderer_host/render_widget_host.h" | 39 #include "content/browser/renderer_host/render_widget_host.h" |
| 41 #include "content/public/browser/browser_thread.h" | 40 #include "content/public/browser/browser_thread.h" |
| 41 #include "content/public/browser/render_process_host.h" |
| 42 #include "ui/base/resource/resource_bundle.h" | 42 #include "ui/base/resource/resource_bundle.h" |
| 43 | 43 |
| 44 #if defined(OS_WIN) | 44 #if defined(OS_WIN) |
| 45 #include "chrome/browser/browser_util_win.h" | 45 #include "chrome/browser/browser_util_win.h" |
| 46 #include "chrome/browser/first_run/upgrade_util_win.h" | 46 #include "chrome/browser/first_run/upgrade_util_win.h" |
| 47 #include "chrome/browser/rlz/rlz.h" | 47 #include "chrome/browser/rlz/rlz.h" |
| 48 #endif | 48 #endif |
| 49 | 49 |
| 50 #if defined(OS_CHROMEOS) | 50 #if defined(OS_CHROMEOS) |
| 51 #include "chrome/browser/chromeos/boot_times_loader.h" | 51 #include "chrome/browser/chromeos/boot_times_loader.h" |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 | 314 |
| 315 bool ShuttingDownWithoutClosingBrowsers() { | 315 bool ShuttingDownWithoutClosingBrowsers() { |
| 316 return g_shutting_down_without_closing_browsers; | 316 return g_shutting_down_without_closing_browsers; |
| 317 } | 317 } |
| 318 | 318 |
| 319 void SetShuttingDownWithoutClosingBrowsers(bool without_close) { | 319 void SetShuttingDownWithoutClosingBrowsers(bool without_close) { |
| 320 g_shutting_down_without_closing_browsers = without_close; | 320 g_shutting_down_without_closing_browsers = without_close; |
| 321 } | 321 } |
| 322 | 322 |
| 323 } // namespace browser_shutdown | 323 } // namespace browser_shutdown |
| OLD | NEW |