Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(220)

Side by Side Diff: chrome/browser/browser_shutdown.cc

Issue 8437002: Move BrowserThread to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: A few updates. Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/browsing_data_appcache_helper.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/command_line.h" 10 #include "base/command_line.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 #include "chrome/browser/rlz/rlz.h" 46 #include "chrome/browser/rlz/rlz.h"
47 #endif 47 #endif
48 48
49 #if defined(OS_CHROMEOS) 49 #if defined(OS_CHROMEOS)
50 #include "chrome/browser/chromeos/boot_times_loader.h" 50 #include "chrome/browser/chromeos/boot_times_loader.h"
51 #include "chrome/browser/chromeos/cros/cros_library.h" 51 #include "chrome/browser/chromeos/cros/cros_library.h"
52 #endif 52 #endif
53 53
54 using base::Time; 54 using base::Time;
55 using base::TimeDelta; 55 using base::TimeDelta;
56 using content::BrowserThread;
56 57
57 namespace browser_shutdown { 58 namespace browser_shutdown {
58 59
59 // Whether the browser is trying to quit (e.g., Quit chosen from menu). 60 // Whether the browser is trying to quit (e.g., Quit chosen from menu).
60 bool g_trying_to_quit = false; 61 bool g_trying_to_quit = false;
61 62
62 // Whether the browser should quit without closing browsers. 63 // Whether the browser should quit without closing browsers.
63 bool g_shutting_down_without_closing_browsers = false; 64 bool g_shutting_down_without_closing_browsers = false;
64 65
65 Time shutdown_started_; 66 Time shutdown_started_;
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 314
314 bool ShuttingDownWithoutClosingBrowsers() { 315 bool ShuttingDownWithoutClosingBrowsers() {
315 return g_shutting_down_without_closing_browsers; 316 return g_shutting_down_without_closing_browsers;
316 } 317 }
317 318
318 void SetShuttingDownWithoutClosingBrowsers(bool without_close) { 319 void SetShuttingDownWithoutClosingBrowsers(bool without_close) {
319 g_shutting_down_without_closing_browsers = without_close; 320 g_shutting_down_without_closing_browsers = without_close;
320 } 321 }
321 322
322 } // namespace browser_shutdown 323 } // namespace browser_shutdown
OLDNEW
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/browsing_data_appcache_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698