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..3b2b2ec96cb5eca94f00486a99a0ec53f1601054 100644 |
| --- a/chrome/browser/browser_process_platform_part_chromeos.h |
| +++ b/chrome/browser/browser_process_platform_part_chromeos.h |
| @@ -6,6 +6,8 @@ |
| #define CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_CHROMEOS_H_ |
| #include <memory> |
| +#include <string> |
| +#include <vector> |
| #include "base/compiler_specific.h" |
| #include "base/macros.h" |
| @@ -98,6 +100,10 @@ class BrowserProcessPlatformPart : public BrowserProcessPlatformPartBase, |
| chromeos::system::SystemClock* GetSystemClock(); |
| void DestroySystemClock(); |
| + void AddCompatibleCrOSComponent(const std::string& name); |
| + |
| + bool IsCompatibleCrOSComponent(const std::string& name); |
| + |
| private: |
| void CreateProfileHelper(); |
| @@ -124,6 +130,8 @@ class BrowserProcessPlatformPart : public BrowserProcessPlatformPartBase, |
| std::unique_ptr<ScopedKeepAlive> keep_alive_; |
| + std::vector<std::string> compatible_cros_components_; |
|
sky
2017/05/25 02:25:50
Given your usage, wouldn't a std::set be a better
xiaochu
2017/05/25 02:40:45
Done.
Yeah, max size is number of cros components
|
| + |
| DISALLOW_COPY_AND_ASSIGN(BrowserProcessPlatformPart); |
| }; |