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_INSTALLER_WIN_H_ 6#define CHROME_BROWSER_COMPONENT_UPDATER_SW_REPORTER_INSTALLER_WIN_H_ 7 8class PrefRegistrySimple; 9class PrefService; 10 11namespace user_prefs { 12class PrefRegistrySyncable; 13} 14 15namespace component_updater { 16 17class ComponentUpdateService; 18 19// Call once during startup to make the component update service aware of the 20// SwReporter. 21void RegisterSwReporterComponent(ComponentUpdateService* cus, 22 PrefService* prefs); 23 24// Register local state preferences related to the SwReporter. 25void RegisterPrefsForSwReporter(PrefRegistrySimple* registry); 26 27// Register profile preferences related to the SwReporter. 28void RegisterProfilePrefsForSwReporter( 29 user_prefs::PrefRegistrySyncable* registry); 30 31} // namespace component_updater 32 33#endif // CHROME_BROWSER_COMPONENT_UPDATER_SW_REPORTER_INSTALLER_WIN_H_ 34