Index: chrome/browser/component_updater/sw_reporter_component_installer_win.h |
diff --git a/chrome/browser/component_updater/sw_reporter_component_installer_win.h b/chrome/browser/component_updater/sw_reporter_component_installer_win.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..188f227b8049f9e6b7b79bb5c0b80611dc9cf675 |
--- /dev/null |
+++ b/chrome/browser/component_updater/sw_reporter_component_installer_win.h |
@@ -0,0 +1,31 @@ |
+// Copyright (c) 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_BROWSER_COMPONENT_UPDATER_SW_REPORTER_COMPONENT_INSTALLER_WIN_H_ |
+#define CHROME_BROWSER_COMPONENT_UPDATER_SW_REPORTER_COMPONENT_INSTALLER_WIN_H_ |
+ |
+class PrefRegistrySimple; |
+class PrefService; |
+ |
+namespace component_updater { |
+ |
+class ComponentUpdateService; |
+ |
+// Register will 1) register with the component updater, 2) save a preference |
+// in |prefs| identifying that we tried. |
robertshield
2014/06/16 03:47:53
"that we tried" what?
From the implementation, I
MAD
2014/06/16 13:03:55
Done.
|
+void RegisterSwReporterComponent(ComponentUpdateService* cus, |
+ PrefService* prefs); |
+ |
+// MaybeRegister will only register with the component updater if the preference |
+// in |prefs| identifying that we tried has been set and the max number of |
+// retries has not been reached yet. |
robertshield
2014/06/16 03:47:53
The comment seems to imply that this will only do
MAD
2014/06/16 13:03:55
Done.
|
+void MaybeRegisterSwReporterComponent(ComponentUpdateService* cus, |
+ PrefService* prefs); |
+ |
+// Register user preferences related to the SwReporter component. |
+void RegisterPrefsForSwReporterComponent(PrefRegistrySimple* registry); |
+ |
+} // namespace component_updater |
+ |
+#endif // CHROME_BROWSER_COMPONENT_UPDATER_SW_REPORTER_COMPONENT_INSTALLER_WIN_H_ |