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

Side by Side Diff: chrome/browser/component_updater/sw_reporter_component_installer_win.h

Issue 333193002: Adding a SW reporter component updater (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_SW_REPORTER_COMPONENT_INSTALLER_WIN_H_
6 #define CHROME_BROWSER_COMPONENT_UPDATER_SW_REPORTER_COMPONENT_INSTALLER_WIN_H_
7
8 class PrefRegistrySimple;
9 class PrefService;
10
11 namespace component_updater {
12
13 class ComponentUpdateService;
14
15 // Register will 1) register with the component updater, 2) save a preference
16 // 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.
17 void RegisterSwReporterComponent(ComponentUpdateService* cus,
18 PrefService* prefs);
19
20 // MaybeRegister will only register with the component updater if the preference
21 // in |prefs| identifying that we tried has been set and the max number of
22 // 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.
23 void MaybeRegisterSwReporterComponent(ComponentUpdateService* cus,
24 PrefService* prefs);
25
26 // Register user preferences related to the SwReporter component.
27 void RegisterPrefsForSwReporterComponent(PrefRegistrySimple* registry);
28
29 } // namespace component_updater
30
31 #endif // CHROME_BROWSER_COMPONENT_UPDATER_SW_REPORTER_COMPONENT_INSTALLER_WIN_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698