Index: chrome/browser/browser_process_platform_part_chromeos.cc |
diff --git a/chrome/browser/browser_process_platform_part_chromeos.cc b/chrome/browser/browser_process_platform_part_chromeos.cc |
index 4b63b33c1daa1e26f6c42546c58b4710352232d9..d73ebb0eb2036b951397c8ac2f29ea5b1a7fb3d2 100644 |
--- a/chrome/browser/browser_process_platform_part_chromeos.cc |
+++ b/chrome/browser/browser_process_platform_part_chromeos.cc |
@@ -154,6 +154,17 @@ void BrowserProcessPlatformPart::DestroySystemClock() { |
system_clock_.reset(); |
} |
+void BrowserProcessPlatformPart::AddCompatibleCrOSComponent( |
+ const std::string& name) { |
+ compatible_cros_components_.insert(name); |
+} |
+ |
+bool BrowserProcessPlatformPart::IsCompatibleCrOSComponent( |
+ const std::string& name) { |
+ auto it = compatible_cros_components_.find(name); |
+ return it != compatible_cros_components_.end(); |
sky
2017/05/25 18:03:50
return compatible_cros_components_.count(name) > 0
xiaochu
2017/05/25 18:12:30
Done.
|
+} |
+ |
void BrowserProcessPlatformPart::CreateProfileHelper() { |
DCHECK(!created_profile_helper_ && !profile_helper_); |
created_profile_helper_ = true; |