1 // Copyright 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 COMPONENTS_DATA_REDUCTION_PROXY_BROWSER_DATA_REDUCTION_PROXY_PREFS_H_
6 #define COMPONENTS_DATA_REDUCTION_PROXY_BROWSER_DATA_REDUCTION_PROXY_PREFS_H_
8 #include "base/macros.h"
10 namespace user_prefs
{
11 class PrefRegistrySyncable
;
14 class PrefRegistrySimple
;
16 namespace data_reduction_proxy
{
18 // Registers the data reduction proxy's profile prefs on platforms that use
20 void RegisterSyncableProfilePrefs(
21 user_prefs::PrefRegistrySyncable
* registry
);
23 // Registers the data reduction proxy's profile prefs on platforms that do not
24 // use syncable prefs.
25 void RegisterSimpleProfilePrefs(PrefRegistrySimple
* registry
);
27 // Registers local state, i.e., profile-agnostic prefs for the data
29 void RegisterPrefs(PrefRegistrySimple
* registry
);
31 } // namespace data_reduction_proxy
33 #endif // COMPONENTS_DATA_REDUCTION_PROXY_BROWSER_DATA_REDUCTION_PROXY_PREFS_H_