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

Unified Diff: chrome/browser/browser_process_platform_part_base.cc

Issue 14576015: In WinAura, also kill the Metro viewer process in AttemptExit(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: oops forgot new mac/android files Created 7 years, 7 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
Index: chrome/browser/browser_process_platform_part_base.cc
diff --git a/chrome/browser/browser_process_platform_part_base.cc b/chrome/browser/browser_process_platform_part_base.cc
index c647f49067888fcb02d8e6ba17bfd18eb635ef92..7dc24a828f2b38c9b09b79c577d3aaf6054ac8fa 100644
--- a/chrome/browser/browser_process_platform_part_base.cc
+++ b/chrome/browser/browser_process_platform_part_base.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "chrome/browser/browser_process_platform_part_base.h"
+#include "chrome/browser/lifetime/application_lifetime.h"
BrowserProcessPlatformPartBase::BrowserProcessPlatformPartBase() {
}
@@ -16,3 +17,8 @@ void BrowserProcessPlatformPartBase::PlatformSpecificCommandLineProcessing(
void BrowserProcessPlatformPartBase::StartTearDown() {
}
+
+void BrowserProcessPlatformPartBase::AttemptExit() {
+ // On most platforms, closing all windows causes the application to exit.
+ chrome::CloseAllBrowsers();
sky 2013/05/18 15:18:58 I think its a little mysterious that you have this
gab 2013/05/21 03:50:33 While playing some more with the application lifet
gab 2013/05/21 15:39:30 Actually, I still feel the current approach (1) is
+}
« no previous file with comments | « chrome/browser/browser_process_platform_part_base.h ('k') | chrome/browser/browser_process_platform_part_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698