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

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

Issue 2240263004: Allow injecting a PrefService into ChromeComponentUpdaterConfigurator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/chrome_component_updater_configurator.h
diff --git a/chrome/browser/component_updater/chrome_component_updater_configurator.h b/chrome/browser/component_updater/chrome_component_updater_configurator.h
index 1e777b28d54260feaea0449b1fd0861e614be801..674059ccf173bd364753b7ae9a274482ff7d7bee 100644
--- a/chrome/browser/component_updater/chrome_component_updater_configurator.h
+++ b/chrome/browser/component_updater/chrome_component_updater_configurator.h
@@ -8,6 +8,8 @@
#include "base/memory/ref_counted.h"
#include "components/update_client/configurator.h"
+class PrefService;
+
namespace base {
class CommandLine;
}
@@ -21,7 +23,8 @@ namespace component_updater {
scoped_refptr<update_client::Configurator>
MakeChromeComponentUpdaterConfigurator(
const base::CommandLine* cmdline,
- net::URLRequestContextGetter* context_getter);
+ net::URLRequestContextGetter* context_getter,
+ PrefService* pref_service);
} // namespace component_updater
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/component_updater/chrome_component_updater_configurator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698