Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(284)

Unified Diff: chrome/browser/extensions/api/preference/preference_api.cc

Issue 2418813002: [Reland] Refactoring of SBER preference usage (Closed)
Patch Set: Sync Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/extensions/BUILD.gn ('k') | chrome/browser/interstitials/chrome_controller_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/preference/preference_api.cc
diff --git a/chrome/browser/extensions/api/preference/preference_api.cc b/chrome/browser/extensions/api/preference/preference_api.cc
index 689638f59661f4ff3766df34fbc869d9276095aa..025bf3a80c928ac5d7a3c81689a6f222df86a20e 100644
--- a/chrome/browser/extensions/api/preference/preference_api.cc
+++ b/chrome/browser/extensions/api/preference/preference_api.cc
@@ -32,6 +32,7 @@
#include "components/password_manager/core/common/password_manager_pref_names.h"
#include "components/prefs/pref_service.h"
#include "components/proxy_config/proxy_config_pref_names.h"
+#include "components/safe_browsing_db/safe_browsing_prefs.h"
#include "components/spellcheck/browser/pref_names.h"
#include "components/translate/core/common/translate_pref_names.h"
#include "content/public/browser/notification_details.h"
@@ -80,8 +81,7 @@ const char kConversionErrorMessage[] =
"properly.";
PrefMappingEntry kPrefMapping[] = {
- {"spdy_proxy.enabled",
- prefs::kDataSaverEnabled,
+ {"spdy_proxy.enabled", prefs::kDataSaverEnabled,
APIPermission::kDataReductionProxy, APIPermission::kDataReductionProxy},
{"data_reduction.daily_original_length",
data_reduction_proxy::prefs::kDailyHttpOriginalContentLength,
« no previous file with comments | « chrome/browser/extensions/BUILD.gn ('k') | chrome/browser/interstitials/chrome_controller_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698