Chromium Code Reviews| Index: chrome/browser/browser_process_platform_part_chromeos.h |
| diff --git a/chrome/browser/browser_process_platform_part_chromeos.h b/chrome/browser/browser_process_platform_part_chromeos.h |
| index 675e57c95c91677755acb36c1c5612fd9efd2f63..cd378f9778cf9643ab978dd1dd9fd3b322a14537 100644 |
| --- a/chrome/browser/browser_process_platform_part_chromeos.h |
| +++ b/chrome/browser/browser_process_platform_part_chromeos.h |
| @@ -11,6 +11,7 @@ |
| #include "base/macros.h" |
| #include "base/threading/non_thread_safe.h" |
| #include "chrome/browser/browser_process_platform_part_base.h" |
| +#include "chrome/browser/component_updater/cros_component_installer.h" |
| namespace chromeos { |
| class ChromeSessionManager; |
| @@ -29,6 +30,11 @@ class TimeZoneResolverManager; |
| } |
| } |
| +namespace component_updater { |
| +class ComponentInstallerTraits; |
| +class CrOSComponentInstaller; |
| +} |
| + |
| namespace policy { |
| class BrowserPolicyConnector; |
| class BrowserPolicyConnectorChromeOS; |
| @@ -98,6 +104,12 @@ class BrowserProcessPlatformPart : public BrowserProcessPlatformPartBase, |
| chromeos::system::SystemClock* GetSystemClock(); |
| void DestroySystemClock(); |
| + scoped_refptr<component_updater::CrOSComponentInstaller> |
| + GetCrosComponentInstaller( |
| + const std::string& name, |
| + std::unique_ptr<component_updater::ComponentInstallerTraits> |
| + installer_traits); |
| + |
| private: |
| void CreateProfileHelper(); |
| @@ -124,6 +136,10 @@ class BrowserProcessPlatformPart : public BrowserProcessPlatformPartBase, |
| std::unique_ptr<ScopedKeepAlive> keep_alive_; |
| + std::map<std::string, |
|
sky
2017/05/24 16:47:20
include <map> and <string>
xiaochu
2017/05/24 19:56:54
Done.
|
| + scoped_refptr<component_updater::CrOSComponentInstaller>> |
| + cros_component_installers_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(BrowserProcessPlatformPart); |
| }; |