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

Unified Diff: chrome/browser/chrome_browser_application_mac.h

Issue 1520006: Mac: reform our shutdown routine. (Closed)
Patch Set: changed comment Created 10 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/browser_shutdown.cc ('k') | chrome/browser/chrome_browser_application_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_application_mac.h
diff --git a/chrome/browser/chrome_browser_application_mac.h b/chrome/browser/chrome_browser_application_mac.h
index 9a1ab9e2ebfdaf4dd0fdff175f7a235521881042..67b423077b6b3ad074ce1bb1756215d8a6e79e33 100644
--- a/chrome/browser/chrome_browser_application_mac.h
+++ b/chrome/browser/chrome_browser_application_mac.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -10,6 +10,10 @@
#import "base/chrome_application_mac.h"
@interface BrowserCrApplication : CrApplication
+// Our implementation of |-terminate:| only attempts to terminate the
+// application, i.e., begins a process which may lead to termination. This
+// method cancels that process.
+- (void)cancelTerminate:(id)sender;
@end
namespace chrome_browser_application_mac {
@@ -34,6 +38,9 @@ namespace chrome_browser_application_mac {
// Calls -[NSApp terminate:].
void Terminate();
+// Cancels a termination started by |Terminate()|.
+void CancelTerminate();
+
} // namespace chrome_browser_application_mac
#endif // CHROME_BROWSER_CHROME_BROWSER_APPLICATION_MAC_H_
« no previous file with comments | « chrome/browser/browser_shutdown.cc ('k') | chrome/browser/chrome_browser_application_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698