| 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_BASE_H_ | 5 #ifndef CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_BASE_H_ |
| 6 #define CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_BASE_H_ | 6 #define CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_BASE_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "content/public/browser/content_browser_client.h" |
| 11 | 12 |
| 12 namespace base { | 13 namespace base { |
| 13 class CommandLine; | 14 class CommandLine; |
| 14 } | 15 } |
| 15 | 16 |
| 16 namespace policy { | 17 namespace policy { |
| 17 class BrowserPolicyConnector; | 18 class BrowserPolicyConnector; |
| 18 } | 19 } |
| 19 | 20 |
| 20 // A base class for platform-specific BrowserProcessPlatformPart | 21 // A base class for platform-specific BrowserProcessPlatformPart |
| (...skipping 13 matching lines...) Expand all Loading... |
| 34 | 35 |
| 35 // Called from AttemptExitInternal(). | 36 // Called from AttemptExitInternal(). |
| 36 virtual void AttemptExit(); | 37 virtual void AttemptExit(); |
| 37 | 38 |
| 38 // Called at the end of BrowserProcessImpl::PreMainMessageLoopRun(). | 39 // Called at the end of BrowserProcessImpl::PreMainMessageLoopRun(). |
| 39 virtual void PreMainMessageLoopRun(); | 40 virtual void PreMainMessageLoopRun(); |
| 40 | 41 |
| 41 virtual std::unique_ptr<policy::BrowserPolicyConnector> | 42 virtual std::unique_ptr<policy::BrowserPolicyConnector> |
| 42 CreateBrowserPolicyConnector(); | 43 CreateBrowserPolicyConnector(); |
| 43 | 44 |
| 45 // Called from ChromeContentBrowserClient::RegisterInProcessServices |
| 46 virtual void RegisterInProcessServices( |
| 47 content::ContentBrowserClient::StaticServiceMap* services); |
| 48 |
| 44 private: | 49 private: |
| 45 DISALLOW_COPY_AND_ASSIGN(BrowserProcessPlatformPartBase); | 50 DISALLOW_COPY_AND_ASSIGN(BrowserProcessPlatformPartBase); |
| 46 }; | 51 }; |
| 47 | 52 |
| 48 #endif // CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_BASE_H_ | 53 #endif // CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_BASE_H_ |
| OLD | NEW |