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

Unified Diff: chrome/browser/browser_process_platform_part.h

Issue 14951007: Refactor BrowserProcessPlatformPart. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix ios? 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
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/browser_process_platform_part.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_process_platform_part.h
diff --git a/chrome/browser/browser_process_platform_part.h b/chrome/browser/browser_process_platform_part.h
index 01000a0110ca0afd480a7596bd11d1c19d2054bc..1aaaf04dcf29dee558515680abe3a72fbc422160 100644
--- a/chrome/browser/browser_process_platform_part.h
+++ b/chrome/browser/browser_process_platform_part.h
@@ -1,29 +1,20 @@
-// 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.
-
-#ifndef CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_H_
-#define CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_H_
-
-#include "base/basictypes.h"
-
-class CommandLine;
-
-class BrowserProcessPlatformPart {
- public:
- BrowserProcessPlatformPart();
- virtual ~BrowserProcessPlatformPart();
-
- // Called after creating the process singleton or when another chrome
- // rendez-vous with this one.
- virtual void PlatformSpecificCommandLineProcessing(
- const CommandLine& command_line);
-
- // Called from BrowserProcessImpl::StartTearDown().
- virtual void StartTearDown();
-
- private:
- DISALLOW_COPY_AND_ASSIGN(BrowserProcessPlatformPart);
-};
-
-#endif // CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_H_
+// 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.
+
+#ifndef CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_H_
+#define CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_H_
+
+#include "build/build_config.h"
+
+// Include the appropriate BrowserProcessPlatformPart based on the platform.
+#if defined(OS_CHROMEOS)
+#include "chrome/browser/browser_process_platform_part_chromeos.h"
+#elif defined(OS_WIN) && defined(USE_AURA)
+#include "chrome/browser/browser_process_platform_part_aurawin.h"
+#else
+#include "chrome/browser/browser_process_platform_part_base.h"
+typedef BrowserProcessPlatformPartBase BrowserProcessPlatformPart;
+#endif
+
+#endif // CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_H_
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/browser_process_platform_part.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698