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

Unified Diff: chrome/browser/browser_process_platform_part_aurawin.cc

Issue 14698027: Move winaura specific methods and members from chrome/browser/browser_process.h to chrome/browser/b… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix includes in testing_browser_process_platform_part.h 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 side-by-side diff with in-line comments
Download patch
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);
+}
« no previous file with comments | « chrome/browser/browser_process_platform_part_aurawin.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