Chromium Code Reviews| 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..7c5405ef325f3834de03c5ca4b32052fad1655e5 100644 |
| --- a/chrome/browser/browser_process_platform_part.h |
| +++ b/chrome/browser/browser_process_platform_part.h |
| @@ -1,29 +1,19 @@ |
| -// 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 |
| +typedef BrowserProcessPlatformPartBase BrowserProcessPlatformPart |
|
sky
2013/05/17 15:42:33
Aren't you missing a ';' here?
gab
2013/05/17 19:47:00
Indeed :), done.
|
| +#endif |
| + |
| +#endif // CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_H_ |