OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_H_ | 5 #ifndef CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_H_ |
6 #define CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_H_ | 6 #define CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 | 9 |
| 10 class CommandLine; |
| 11 |
10 class BrowserProcessPlatformPart { | 12 class BrowserProcessPlatformPart { |
11 public: | 13 public: |
12 BrowserProcessPlatformPart(); | 14 BrowserProcessPlatformPart(); |
13 virtual ~BrowserProcessPlatformPart(); | 15 virtual ~BrowserProcessPlatformPart(); |
14 | 16 |
| 17 // Called after creating the process singleton or when another chrome |
| 18 // rendez-vous with this one. |
| 19 virtual void PlatformSpecificCommandLineProcessing( |
| 20 const CommandLine& command_line); |
| 21 |
15 // Called from BrowserProcessImpl::StartTearDown(). | 22 // Called from BrowserProcessImpl::StartTearDown(). |
16 virtual void StartTearDown(); | 23 virtual void StartTearDown(); |
17 | 24 |
18 private: | 25 private: |
19 DISALLOW_COPY_AND_ASSIGN(BrowserProcessPlatformPart); | 26 DISALLOW_COPY_AND_ASSIGN(BrowserProcessPlatformPart); |
20 }; | 27 }; |
21 | 28 |
22 #endif // CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_H_ | 29 #endif // CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_H_ |
OLD | NEW |