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