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" | 9 #include "app/resource_bundle.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
11 #include "base/file_path.h" | 11 #include "base/file_path.h" |
12 #include "base/file_util.h" | 12 #include "base/file_util.h" |
13 #include "base/histogram.h" | 13 #include "base/histogram.h" |
14 #include "base/path_service.h" | 14 #include "base/path_service.h" |
15 #include "base/process_util.h" | 15 #include "base/process_util.h" |
16 #include "base/string_number_conversions.h" | 16 #include "base/string_number_conversions.h" |
17 #include "base/string_util.h" | 17 #include "base/string_util.h" |
18 #include "base/thread.h" | 18 #include "base/thread.h" |
19 #include "base/time.h" | 19 #include "base/time.h" |
20 #include "base/waitable_event.h" | |
21 #include "build/build_config.h" | 20 #include "build/build_config.h" |
22 #include "chrome/browser/browser_process.h" | 21 #include "chrome/browser/browser_process.h" |
23 #include "chrome/browser/chrome_thread.h" | 22 #include "chrome/browser/chrome_thread.h" |
24 #include "chrome/browser/dom_ui/chrome_url_data_manager.h" | 23 #include "chrome/browser/dom_ui/chrome_url_data_manager.h" |
25 #include "chrome/browser/first_run/first_run.h" | 24 #include "chrome/browser/first_run/first_run.h" |
26 #include "chrome/browser/jankometer.h" | 25 #include "chrome/browser/jankometer.h" |
27 #include "chrome/browser/metrics/metrics_service.h" | 26 #include "chrome/browser/metrics/metrics_service.h" |
28 #include "chrome/browser/plugin_process_host.h" | 27 #include "chrome/browser/plugin_process_host.h" |
29 #include "chrome/browser/pref_service.h" | 28 #include "chrome/browser/pref_service.h" |
30 #include "chrome/browser/renderer_host/render_process_host.h" | 29 #include "chrome/browser/renderer_host/render_process_host.h" |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 | 283 |
285 void SetTryingToQuit(bool quitting) { | 284 void SetTryingToQuit(bool quitting) { |
286 g_trying_to_quit = quitting; | 285 g_trying_to_quit = quitting; |
287 } | 286 } |
288 | 287 |
289 bool IsTryingToQuit() { | 288 bool IsTryingToQuit() { |
290 return g_trying_to_quit; | 289 return g_trying_to_quit; |
291 } | 290 } |
292 | 291 |
293 } // namespace browser_shutdown | 292 } // namespace browser_shutdown |
OLD | NEW |