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..2190774ee482108b0d604b70f3fc9c74c7ab8439 100644 |
--- a/chrome/browser/browser_process_platform_part_chromeos.cc |
+++ b/chrome/browser/browser_process_platform_part_chromeos.cc |
@@ -154,6 +154,20 @@ void BrowserProcessPlatformPart::DestroySystemClock() { |
system_clock_.reset(); |
} |
+scoped_refptr<component_updater::CrOSComponentInstaller> |
+BrowserProcessPlatformPart::GetCrosComponentInstaller( |
+ const std::string& name, |
+ std::unique_ptr<component_updater::ComponentInstallerTraits> |
+ installer_traits) { |
+ auto it = cros_component_installers_.find(name); |
+ if (it == cros_component_installers_.end()) { |
+ cros_component_installers_[name] = |
+ new component_updater::CrOSComponentInstaller( |
+ std::move(installer_traits)); |
+ } |
+ return cros_component_installers_[name]; |
+} |
+ |
void BrowserProcessPlatformPart::CreateProfileHelper() { |
DCHECK(!created_profile_helper_ && !profile_helper_); |
created_profile_helper_ = true; |