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_ |