Add diagnostics_writer.cc to the list of files allowed to printf.
[chromium-blink-merge.git] / components / data_reduction_proxy / browser / data_reduction_proxy_prefs.h
blob0bdc964783c66b0147b848507c42d4e20af5c303
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
19 // syncable prefs.
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
28 // reduction proxy.
29 void RegisterPrefs(PrefRegistrySimple* registry);
31 } // namespace data_reduction_proxy
33 #endif // COMPONENTS_DATA_REDUCTION_PROXY_BROWSER_DATA_REDUCTION_PROXY_PREFS_H_