This source file includes following definitions.
- PlatformSpecificCommandLineProcessing
- StartTearDown
- AttemptExit
- PreMainMessageLoopRun
- CreateBrowserPolicyConnector
#include "base/logging.h"
#include "chrome/browser/browser_process_platform_part_base.h"
#include "chrome/browser/lifetime/application_lifetime.h"
#if defined(ENABLE_CONFIGURATION_POLICY)
#include "components/policy/core/browser/browser_policy_connector.h"
#if !defined(OS_IOS)
#include "chrome/browser/policy/chrome_browser_policy_connector.h"
#endif
#endif
BrowserProcessPlatformPartBase::BrowserProcessPlatformPartBase() {
}
BrowserProcessPlatformPartBase::~BrowserProcessPlatformPartBase() {
}
void BrowserProcessPlatformPartBase::PlatformSpecificCommandLineProcessing(
const base::CommandLine& ) {
}
void BrowserProcessPlatformPartBase::StartTearDown() {
}
void BrowserProcessPlatformPartBase::AttemptExit() {
#if defined(OS_IOS) || defined(OS_ANDROID)
NOTREACHED();
#else
chrome::CloseAllBrowsers();
#endif
}
void BrowserProcessPlatformPartBase::PreMainMessageLoopRun() {
}
#if defined(ENABLE_CONFIGURATION_POLICY)
scoped_ptr<policy::BrowserPolicyConnector>
BrowserProcessPlatformPartBase::CreateBrowserPolicyConnector() {
#if defined(OS_IOS)
NOTREACHED();
return scoped_ptr<policy::BrowserPolicyConnector>();
#else
return scoped_ptr<policy::BrowserPolicyConnector>(
new policy::ChromeBrowserPolicyConnector());
#endif
}
#endif