[M94 Dev] Remove *.pyc files from git repositories
[platform/framework/web/chromium-efl.git] / chrome / browser / browser_process_platform_part_base.cc
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.
4
5 #include "chrome/browser/browser_process_platform_part_base.h"
6
7 #include "base/notreached.h"
8 #include "build/build_config.h"
9 #include "chrome/browser/lifetime/application_lifetime.h"
10
11 BrowserProcessPlatformPartBase::BrowserProcessPlatformPartBase() {
12 }
13
14 BrowserProcessPlatformPartBase::~BrowserProcessPlatformPartBase() {
15 }
16
17 void BrowserProcessPlatformPartBase::PlatformSpecificCommandLineProcessing(
18     const base::CommandLine& /* command_line */) {
19 }
20
21 void BrowserProcessPlatformPartBase::BeginStartTearDown() {}
22
23 void BrowserProcessPlatformPartBase::StartTearDown() {
24 }
25
26 void BrowserProcessPlatformPartBase::AttemptExit(bool try_to_quit_application) {
27 // chrome::CloseAllBrowsers() doesn't link on OS_ANDROID, but it overrides this
28 // method already.
29 #if defined(OS_ANDROID)
30   NOTREACHED();
31 #else
32   // On most platforms, closing all windows causes the application to exit.
33   chrome::CloseAllBrowsers();
34 #endif
35 }
36
37 void BrowserProcessPlatformPartBase::PreMainMessageLoopRun() {
38 }