Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / browser_process_platform_part_base.cc
blob028732158506394ab8a5eb3e45f7e4e6d84516cf
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
3 // found in the LICENSE file.
5 #include "base/logging.h"
6 #include "chrome/browser/browser_process_platform_part_base.h"
7 #include "chrome/browser/lifetime/application_lifetime.h"
9 BrowserProcessPlatformPartBase::BrowserProcessPlatformPartBase() {
12 BrowserProcessPlatformPartBase::~BrowserProcessPlatformPartBase() {
15 void BrowserProcessPlatformPartBase::PlatformSpecificCommandLineProcessing(
16 const CommandLine& /* command_line */) {
19 void BrowserProcessPlatformPartBase::StartTearDown() {
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
33 void BrowserProcessPlatformPartBase::PreMainMessageLoopRun() {