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

Unified Diff: chrome/browser/browser_process.h

Issue 2898063002: Hold cros_component_installers in browser_process. (Closed)
Patch Set: update commit message. 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
« no previous file with comments | « no previous file | chrome/browser/browser_process_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_process.h
diff --git a/chrome/browser/browser_process.h b/chrome/browser/browser_process.h
index cf07d9a0d1bce449bc8acc27b0083bdf4294c422..f275fab53a33ae08641cb52d6a9689d105964e81 100644
--- a/chrome/browser/browser_process.h
+++ b/chrome/browser/browser_process.h
@@ -54,7 +54,9 @@ class VariationsService;
}
namespace component_updater {
+class ComponentInstallerTraits;
class ComponentUpdateService;
+class DefaultComponentInstaller;
class PnaclComponentInstaller;
class SupervisedUserWhitelistInstaller;
}
@@ -262,6 +264,14 @@ class BrowserProcess {
virtual component_updater::PnaclComponentInstaller*
pnacl_component_installer() = 0;
+#if defined(OS_CHROMEOS)
+ virtual component_updater::DefaultComponentInstaller*
waffles 2017/05/23 20:40:14 I think you actually want to return the Traits obj
xiaochu 2017/05/23 21:31:59 Done. Thanks for pointing this out. I just realiz
+ cros_component_installer(
+ const std::string& name,
+ std::unique_ptr<component_updater::ComponentInstallerTraits>
+ installer_traits) = 0;
+#endif
+
virtual component_updater::SupervisedUserWhitelistInstaller*
supervised_user_whitelist_installer() = 0;
« no previous file with comments | « no previous file | chrome/browser/browser_process_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698