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

Unified Diff: chrome/browser/component_updater/cros_component_installer.h

Issue 2898063002: Hold cros_component_installers in browser_process. (Closed)
Patch Set: switch to smart pointer 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/component_updater/cros_component_installer.h
diff --git a/chrome/browser/component_updater/cros_component_installer.h b/chrome/browser/component_updater/cros_component_installer.h
index 7673d744f2d468add48964847aa5d17111e3694d..f5828c5f4f30afa259bb897830b19ff4e2acf824 100644
--- a/chrome/browser/component_updater/cros_component_installer.h
+++ b/chrome/browser/component_updater/cros_component_installer.h
@@ -106,7 +106,8 @@ class CrOSComponent {
private:
CrOSComponent() {}
// Register a component.
- static void RegisterCrOSComponentInternal(ComponentUpdateService* cus,
+ static void RegisterCrOSComponentInternal(const std::string& name,
+ ComponentUpdateService* cus,
const ComponentConfig& config,
const base::Closure& callback);
// A helper function to pass into RegisterCrOSComonentInternal as a callback.

Powered by Google App Engine
This is Rietveld 408576698