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

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

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months 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
« no previous file with comments | « chrome/browser/browser_process_platform_part_mac.h ('k') | chrome/browser/browser_shutdown.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) 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 #ifndef CHROME_BROWSER_BROWSER_SHUTDOWN_H_ 5 #ifndef CHROME_BROWSER_BROWSER_SHUTDOWN_H_
6 #define CHROME_BROWSER_BROWSER_SHUTDOWN_H_ 6 #define CHROME_BROWSER_BROWSER_SHUTDOWN_H_
7 7
8 #include "build/build_config.h"
9
8 class PrefRegistrySimple; 10 class PrefRegistrySimple;
9 11
10 namespace browser_shutdown { 12 namespace browser_shutdown {
11 13
12 enum ShutdownType { 14 enum ShutdownType {
13 // an uninitialized value 15 // an uninitialized value
14 NOT_VALID = 0, 16 NOT_VALID = 0,
15 // the last browser window was closed 17 // the last browser window was closed
16 WINDOW_CLOSE, 18 WINDOW_CLOSE,
17 // user clicked on the Exit menu item 19 // user clicked on the Exit menu item
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 bool IsTryingToQuit(); 71 bool IsTryingToQuit();
70 72
71 // Starts to collect shutdown traces. On ChromeOS this will start immediately 73 // Starts to collect shutdown traces. On ChromeOS this will start immediately
72 // on AttemptUserExit() and all other systems will start once all tabs are 74 // on AttemptUserExit() and all other systems will start once all tabs are
73 // closed. 75 // closed.
74 void StartShutdownTracing(); 76 void StartShutdownTracing();
75 77
76 } // namespace browser_shutdown 78 } // namespace browser_shutdown
77 79
78 #endif // CHROME_BROWSER_BROWSER_SHUTDOWN_H_ 80 #endif // CHROME_BROWSER_BROWSER_SHUTDOWN_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser_process_platform_part_mac.h ('k') | chrome/browser/browser_shutdown.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698