OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 <string> | 7 #include <string> |
8 | 8 |
9 #include "app/resource_bundle.h" | |
10 #include "base/command_line.h" | 9 #include "base/command_line.h" |
11 #include "base/file_path.h" | 10 #include "base/file_path.h" |
12 #include "base/file_util.h" | 11 #include "base/file_util.h" |
13 #include "base/metrics/histogram.h" | 12 #include "base/metrics/histogram.h" |
14 #include "base/path_service.h" | 13 #include "base/path_service.h" |
15 #include "base/process_util.h" | 14 #include "base/process_util.h" |
16 #include "base/string_number_conversions.h" | 15 #include "base/string_number_conversions.h" |
17 #include "base/string_util.h" | 16 #include "base/string_util.h" |
18 #include "base/threading/thread.h" | 17 #include "base/threading/thread.h" |
19 #include "base/threading/thread_restrictions.h" | 18 #include "base/threading/thread_restrictions.h" |
(...skipping 12 matching lines...) Expand all Loading... |
32 #include "chrome/browser/renderer_host/render_process_host.h" | 31 #include "chrome/browser/renderer_host/render_process_host.h" |
33 #include "chrome/browser/renderer_host/render_view_host.h" | 32 #include "chrome/browser/renderer_host/render_view_host.h" |
34 #include "chrome/browser/renderer_host/render_widget_host.h" | 33 #include "chrome/browser/renderer_host/render_widget_host.h" |
35 #include "chrome/browser/service/service_process_control_manager.h" | 34 #include "chrome/browser/service/service_process_control_manager.h" |
36 #include "chrome/common/chrome_paths.h" | 35 #include "chrome/common/chrome_paths.h" |
37 #include "chrome/common/chrome_switches.h" | 36 #include "chrome/common/chrome_switches.h" |
38 #include "chrome/common/pref_names.h" | 37 #include "chrome/common/pref_names.h" |
39 #include "chrome/common/chrome_plugin_lib.h" | 38 #include "chrome/common/chrome_plugin_lib.h" |
40 #include "chrome/common/switch_utils.h" | 39 #include "chrome/common/switch_utils.h" |
41 #include "net/predictor_api.h" | 40 #include "net/predictor_api.h" |
| 41 #include "ui/base/resource/resource_bundle.h" |
42 | 42 |
43 #if defined(OS_WIN) | 43 #if defined(OS_WIN) |
44 #include "chrome/browser/rlz/rlz.h" | 44 #include "chrome/browser/rlz/rlz.h" |
45 #endif | 45 #endif |
46 | 46 |
47 #if defined(OS_CHROMEOS) | 47 #if defined(OS_CHROMEOS) |
48 #include "chrome/browser/chromeos/boot_times_loader.h" | 48 #include "chrome/browser/chromeos/boot_times_loader.h" |
49 #include "chrome/browser/chromeos/cros/cros_library.h" | 49 #include "chrome/browser/chromeos/cros/cros_library.h" |
50 #include "chrome/browser/chromeos/cros/login_library.h" | 50 #include "chrome/browser/chromeos/cros/login_library.h" |
51 #include "chrome/browser/chromeos/wm_ipc.h" | 51 #include "chrome/browser/chromeos/wm_ipc.h" |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
332 | 332 |
333 bool ShuttingDownWithoutClosingBrowsers() { | 333 bool ShuttingDownWithoutClosingBrowsers() { |
334 #if defined(USE_X11) | 334 #if defined(USE_X11) |
335 if (GetShutdownType() == browser_shutdown::END_SESSION) | 335 if (GetShutdownType() == browser_shutdown::END_SESSION) |
336 return true; | 336 return true; |
337 #endif | 337 #endif |
338 return false; | 338 return false; |
339 } | 339 } |
340 | 340 |
341 } // namespace browser_shutdown | 341 } // namespace browser_shutdown |
OLD | NEW |