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

Side by Side 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: merge up to r201426 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #include "base/logging.h"
5 #include "chrome/browser/browser_process_platform_part_base.h" 6 #include "chrome/browser/browser_process_platform_part_base.h"
7 #include "chrome/browser/lifetime/application_lifetime.h"
6 8
7 BrowserProcessPlatformPartBase::BrowserProcessPlatformPartBase() { 9 BrowserProcessPlatformPartBase::BrowserProcessPlatformPartBase() {
8 } 10 }
9 11
10 BrowserProcessPlatformPartBase::~BrowserProcessPlatformPartBase() { 12 BrowserProcessPlatformPartBase::~BrowserProcessPlatformPartBase() {
11 } 13 }
12 14
13 void BrowserProcessPlatformPartBase::PlatformSpecificCommandLineProcessing( 15 void BrowserProcessPlatformPartBase::PlatformSpecificCommandLineProcessing(
14 const CommandLine& /* command_line */) { 16 const CommandLine& /* command_line */) {
15 } 17 }
16 18
17 void BrowserProcessPlatformPartBase::StartTearDown() { 19 void BrowserProcessPlatformPartBase::StartTearDown() {
18 } 20 }
21
22 void BrowserProcessPlatformPartBase::AttemptExit() {
23 // chrome::CloseAllBrowsers() doesn't link on OS_IOS and OS_ANDROID, but
24 // OS_ANDROID overrides this method already and OS_IOS never calls this.
25 #if defined(OS_IOS) || defined(OS_ANDROID)
26 NOTREACHED();
27 #else
28 // On most platforms, closing all windows causes the application to exit.
29 chrome::CloseAllBrowsers();
30 #endif
31 }
OLDNEW
« no previous file with comments | « chrome/browser/browser_process_platform_part_base.h ('k') | chrome/browser/browser_process_platform_part_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698