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

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..17f6b4e4f8d7505d7abfc944a7ec1d5e325e4b99 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;
}
@@ -289,6 +291,14 @@ class BrowserProcess {
// Returns the Physical Web data source.
virtual physical_web::PhysicalWebDataSource* GetPhysicalWebDataSource() = 0;
+#if defined(OS_CHROMEOS)
sky 2017/05/23 20:22:23 Can this be moved to browser_process_platform_part
xiaochu 2017/05/23 21:31:59 Done.
+ virtual component_updater::DefaultComponentInstaller*
+ cros_component_installer(
sky 2017/05/23 20:22:23 Please name this GetCrosComponentInstaller().
xiaochu 2017/05/23 21:31:59 Done.
+ const std::string& name,
+ std::unique_ptr<component_updater::ComponentInstallerTraits>
+ installer_traits) = 0;
+#endif
+
private:
DISALLOW_COPY_AND_ASSIGN(BrowserProcess);
};
« 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