OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 10 matching lines...) Expand all Loading... |
21 #include "base/threading/thread_restrictions.h" | 21 #include "base/threading/thread_restrictions.h" |
22 #include "base/time/time.h" | 22 #include "base/time/time.h" |
23 #include "build/build_config.h" | 23 #include "build/build_config.h" |
24 #include "chrome/browser/about_flags.h" | 24 #include "chrome/browser/about_flags.h" |
25 #include "chrome/browser/browser_process.h" | 25 #include "chrome/browser/browser_process.h" |
26 #include "chrome/browser/first_run/upgrade_util.h" | 26 #include "chrome/browser/first_run/upgrade_util.h" |
27 #include "chrome/browser/jankometer.h" | 27 #include "chrome/browser/jankometer.h" |
28 #include "chrome/browser/lifetime/application_lifetime.h" | 28 #include "chrome/browser/lifetime/application_lifetime.h" |
29 #include "chrome/browser/metrics/metrics_service.h" | 29 #include "chrome/browser/metrics/metrics_service.h" |
30 #include "chrome/browser/profiles/profile_manager.h" | 30 #include "chrome/browser/profiles/profile_manager.h" |
31 #include "chrome/browser/service/service_process_control.h" | 31 #include "chrome/browser/service_process/service_process_control.h" |
32 #include "chrome/common/chrome_paths.h" | 32 #include "chrome/common/chrome_paths.h" |
33 #include "chrome/common/chrome_switches.h" | 33 #include "chrome/common/chrome_switches.h" |
34 #include "chrome/common/pref_names.h" | 34 #include "chrome/common/pref_names.h" |
35 #include "chrome/common/switch_utils.h" | 35 #include "chrome/common/switch_utils.h" |
36 #include "content/public/browser/browser_thread.h" | 36 #include "content/public/browser/browser_thread.h" |
37 #include "content/public/browser/render_process_host.h" | 37 #include "content/public/browser/render_process_host.h" |
38 #include "content/public/browser/render_view_host.h" | 38 #include "content/public/browser/render_view_host.h" |
39 #include "ui/base/resource/resource_bundle.h" | 39 #include "ui/base/resource/resource_bundle.h" |
40 | 40 |
41 #if defined(OS_WIN) | 41 #if defined(OS_WIN) |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 | 328 |
329 bool ShuttingDownWithoutClosingBrowsers() { | 329 bool ShuttingDownWithoutClosingBrowsers() { |
330 return g_shutting_down_without_closing_browsers; | 330 return g_shutting_down_without_closing_browsers; |
331 } | 331 } |
332 | 332 |
333 void SetShuttingDownWithoutClosingBrowsers(bool without_close) { | 333 void SetShuttingDownWithoutClosingBrowsers(bool without_close) { |
334 g_shutting_down_without_closing_browsers = without_close; | 334 g_shutting_down_without_closing_browsers = without_close; |
335 } | 335 } |
336 | 336 |
337 } // namespace browser_shutdown | 337 } // namespace browser_shutdown |
OLD | NEW |