| Index: chrome/browser/browser_process_platform_part_aurawin.cc
|
| diff --git a/chrome/browser/browser_process_impl_win.cc b/chrome/browser/browser_process_platform_part_aurawin.cc
|
| similarity index 59%
|
| rename from chrome/browser/browser_process_impl_win.cc
|
| rename to chrome/browser/browser_process_platform_part_aurawin.cc
|
| index 9d013fdbb23ed98e0356988af2a123a98e4aba3c..305c20863424a2c712be8f5d903244b30dc3d5a0 100644
|
| --- a/chrome/browser/browser_process_impl_win.cc
|
| +++ b/chrome/browser/browser_process_platform_part_aurawin.cc
|
| @@ -1,28 +1,20 @@
|
| -// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
| -#include "chrome/browser/browser_process_impl.h"
|
|
|
| -#include "base/command_line.h"
|
| -#include "chrome/common/chrome_switches.h"
|
| +#include "chrome/browser/browser_process_platform_part_aurawin.h"
|
|
|
| -#if defined(USE_AURA)
|
| +#include "base/command_line.h"
|
| #include "chrome/browser/metro_viewer/metro_viewer_process_host_win.h"
|
| -#endif
|
| +#include "chrome/common/chrome_switches.h"
|
|
|
| -void BrowserProcessImpl::PlatformSpecificCommandLineProcessing(
|
| - const CommandLine& command_line) {
|
| -#if defined(USE_AURA)
|
| - PerformInitForWindowsAura(command_line);
|
| -#endif
|
| +BrowserProcessPlatformPart::BrowserProcessPlatformPart() {
|
| }
|
|
|
| -#if defined(USE_AURA)
|
| -void BrowserProcessImpl::OnMetroViewerProcessTerminated() {
|
| - metro_viewer_process_host_.reset(NULL);
|
| +BrowserProcessPlatformPart::~BrowserProcessPlatformPart() {
|
| }
|
|
|
| -void BrowserProcessImpl::PerformInitForWindowsAura(
|
| +void BrowserProcessPlatformPart::PlatformSpecificCommandLineProcessing(
|
| const CommandLine& command_line) {
|
| if (command_line.HasSwitch(switches::kViewerConnection) &&
|
| !metro_viewer_process_host_.get()) {
|
| @@ -32,4 +24,10 @@ void BrowserProcessImpl::PerformInitForWindowsAura(
|
| command_line.GetSwitchValueASCII(switches::kViewerConnection)));
|
| }
|
| }
|
| -#endif
|
| +
|
| +void BrowserProcessPlatformPart::StartTearDown() {
|
| +}
|
| +
|
| +void BrowserProcessPlatformPart::OnMetroViewerProcessTerminated() {
|
| + metro_viewer_process_host_.reset(NULL);
|
| +}
|
|
|