Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1349)

Unified Diff: chrome/browser/browser_process_platform_part_chromeos.cc

Issue 2898063002: Hold cros_component_installers in browser_process. (Closed)
Patch Set: remove dead code Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..c8340b71935b94a4d23e7d5dd152b939c0420ae3 100644
--- a/chrome/browser/browser_process_platform_part_chromeos.cc
+++ b/chrome/browser/browser_process_platform_part_chromeos.cc
@@ -154,6 +154,16 @@ 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) {
+ return compatible_cros_components_.count(name) > 0;
+}
+
void BrowserProcessPlatformPart::CreateProfileHelper() {
DCHECK(!created_profile_helper_ && !profile_helper_);
created_profile_helper_ = true;
« no previous file with comments | « chrome/browser/browser_process_platform_part_chromeos.h ('k') | chrome/browser/component_updater/cros_component_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698