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

Side by Side Diff: chrome/browser/lifetime/browser_close_manager.h

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_LIFETIME_BROWSER_CLOSE_MANAGER_H_ 5 #ifndef CHROME_BROWSER_LIFETIME_BROWSER_CLOSE_MANAGER_H_
6 #define CHROME_BROWSER_LIFETIME_BROWSER_CLOSE_MANAGER_H_ 6 #define CHROME_BROWSER_LIFETIME_BROWSER_CLOSE_MANAGER_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
10 11
11 class Browser; 12 class Browser;
12 13
13 // Manages confirming that browser windows are closeable and closing them at 14 // Manages confirming that browser windows are closeable and closing them at
14 // shutdown. 15 // shutdown.
15 class BrowserCloseManager : public base::RefCounted<BrowserCloseManager> { 16 class BrowserCloseManager : public base::RefCounted<BrowserCloseManager> {
16 public: 17 public:
17 BrowserCloseManager(); 18 BrowserCloseManager();
18 19
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 void OnReportDownloadsCancellable(bool proceed); 55 void OnReportDownloadsCancellable(bool proceed);
55 56
56 // The browser for which we are waiting for a callback to 57 // The browser for which we are waiting for a callback to
57 // OnBrowserReportCloseable. 58 // OnBrowserReportCloseable.
58 Browser* current_browser_; 59 Browser* current_browser_;
59 60
60 DISALLOW_COPY_AND_ASSIGN(BrowserCloseManager); 61 DISALLOW_COPY_AND_ASSIGN(BrowserCloseManager);
61 }; 62 };
62 63
63 #endif // CHROME_BROWSER_LIFETIME_BROWSER_CLOSE_MANAGER_H_ 64 #endif // CHROME_BROWSER_LIFETIME_BROWSER_CLOSE_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/lifetime/application_lifetime_aura.cc ('k') | chrome/browser/lifetime/browser_close_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698