Refactor SharedMemory::Create and fix a rare file leak.
[chromium-blink-merge.git] / chrome / browser / component_updater / sw_reporter_installer_win.h
blob351720ca5b8ec2f221f57dbe9dc81374c87266ae
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.
5 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_SW_REPORTER_INSTALLER_WIN_H_
6 #define CHROME_BROWSER_COMPONENT_UPDATER_SW_REPORTER_INSTALLER_WIN_H_
8 class PrefRegistrySimple;
9 class PrefService;
11 namespace user_prefs {
12 class PrefRegistrySyncable;
15 namespace component_updater {
17 class ComponentUpdateService;
19 // Call once during startup to make the component update service aware of the
20 // SwReporter.
21 void RegisterSwReporterComponent(ComponentUpdateService* cus,
22 PrefService* prefs);
24 // Register local state preferences related to the SwReporter.
25 void RegisterPrefsForSwReporter(PrefRegistrySimple* registry);
27 // Register profile preferences related to the SwReporter.
28 void RegisterProfilePrefsForSwReporter(
29 user_prefs::PrefRegistrySyncable* registry);
31 } // namespace component_updater
33 #endif // CHROME_BROWSER_COMPONENT_UPDATER_SW_REPORTER_INSTALLER_WIN_H_