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
|
+} |