Register data_reduction_proxy prefs on iOS.
BUG=556566 Review URL: https://codereview.chromium.org/1457803002 Cr-Commit-Position: refs/heads/master@{#361017}
This commit is contained in:
ios/chrome
@@ -7,6 +7,8 @@
|
||||
#include "base/prefs/pref_service.h"
|
||||
#include "components/autofill/core/browser/autofill_manager.h"
|
||||
#include "components/content_settings/core/browser/host_content_settings_map.h"
|
||||
#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_prefs.h"
|
||||
#include "components/data_reduction_proxy/core/common/data_reduction_proxy_pref_names.h"
|
||||
#include "components/dom_distiller/core/distilled_page_prefs.h"
|
||||
#include "components/enhanced_bookmarks/bookmark_server_cluster_service.h"
|
||||
#include "components/gcm_driver/gcm_channel_status_syncer.h"
|
||||
@@ -63,6 +65,13 @@ void RegisterLocalStatePrefs(PrefRegistrySimple* registry) {
|
||||
[OmniboxGeolocationLocalState registerLocalState:registry];
|
||||
[MemoryDebuggerManager registerLocalState:registry];
|
||||
|
||||
// TODO(crbug.com/557814): data_reduction_proxy::prefs::kDataReductionProxy
|
||||
// should be registered by data_reduction_proxy::RegisterPrefs() instead of
|
||||
// here.
|
||||
registry->RegisterStringPref(data_reduction_proxy::prefs::kDataReductionProxy,
|
||||
std::string());
|
||||
data_reduction_proxy::RegisterPrefs(registry);
|
||||
|
||||
// TODO(shreyasv): Remove this in M49 as almost all users would have the
|
||||
// "do not backup" bit set by then. crbug.com/489865.
|
||||
registry->RegisterBooleanPref(prefs::kOTRStashStatePathSystemBackupExcluded,
|
||||
|
@@ -55,6 +55,7 @@
|
||||
'../../components/components.gyp:content_settings_core_browser',
|
||||
'../../components/components.gyp:crash_core_browser',
|
||||
'../../components/components.gyp:crash_core_common',
|
||||
'../../components/components.gyp:data_reduction_proxy_core_browser',
|
||||
'../../components/components.gyp:data_reduction_proxy_core_common',
|
||||
'../../components/components.gyp:dom_distiller_core',
|
||||
'../../components/components.gyp:dom_distiller_ios',
|
||||
|
Reference in New Issue
Block a user