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

Side by Side Diff: chrome/common/pref_names.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 unified diff | Download patch
« no previous file with comments | « chrome/common/pref_names.h ('k') | components/safe_browsing_db/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "chrome/common/features.h" 9 #include "chrome/common/features.h"
10 #include "chrome/common/pref_font_webkit_names.h" 10 #include "chrome/common/pref_font_webkit_names.h"
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 const char kWebKitPluginsEnabled[] = "webkit.webprefs.plugins_enabled"; 350 const char kWebKitPluginsEnabled[] = "webkit.webprefs.plugins_enabled";
351 351
352 // Boolean that is true when Data Saver is enabled. 352 // Boolean that is true when Data Saver is enabled.
353 // TODO(bengr): Migrate the preference string to "data_saver.enabled" 353 // TODO(bengr): Migrate the preference string to "data_saver.enabled"
354 // (crbug.com/564207). 354 // (crbug.com/564207).
355 const char kDataSaverEnabled[] = "spdy_proxy.enabled"; 355 const char kDataSaverEnabled[] = "spdy_proxy.enabled";
356 356
357 // Boolean that is true when SafeBrowsing is enabled. 357 // Boolean that is true when SafeBrowsing is enabled.
358 const char kSafeBrowsingEnabled[] = "safebrowsing.enabled"; 358 const char kSafeBrowsingEnabled[] = "safebrowsing.enabled";
359 359
360 // Boolean that tell us whether Safe Browsing extended reporting is enabled.
361 const char kSafeBrowsingExtendedReportingEnabled[] =
362 "safebrowsing.extended_reporting_enabled";
363
364 // Boolean that is true when the SafeBrowsing interstitial should not allow 360 // Boolean that is true when the SafeBrowsing interstitial should not allow
365 // users to proceed anyway. 361 // users to proceed anyway.
366 const char kSafeBrowsingProceedAnywayDisabled[] = 362 const char kSafeBrowsingProceedAnywayDisabled[] =
367 "safebrowsing.proceed_anyway_disabled"; 363 "safebrowsing.proceed_anyway_disabled";
368 364
369 // A dictionary mapping incident types to a dict of incident key:digest pairs. 365 // A dictionary mapping incident types to a dict of incident key:digest pairs.
370 const char kSafeBrowsingIncidentsSent[] = "safebrowsing.incidents_sent"; 366 const char kSafeBrowsingIncidentsSent[] = "safebrowsing.incidents_sent";
371 367
372 // Boolean that tells us whether users are given the option to opt in to Safe 368 // Boolean that tells us whether users are given the option to opt in to Safe
373 // Browsing extended reporting. 369 // Browsing extended reporting.
(...skipping 1903 matching lines...) Expand 10 before | Expand all | Expand 10 after
2277 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; 2273 const char kOriginTrialPublicKey[] = "origin_trials.public_key";
2278 2274
2279 // A list of origin trial features to disable by policy. 2275 // A list of origin trial features to disable by policy.
2280 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; 2276 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features";
2281 2277
2282 // Policy that indicates the state of updates for the binary components. 2278 // Policy that indicates the state of updates for the binary components.
2283 const char kComponentUpdatesEnabled[] = 2279 const char kComponentUpdatesEnabled[] =
2284 "component_updates.component_updates_enabled"; 2280 "component_updates.component_updates_enabled";
2285 2281
2286 } // namespace prefs 2282 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | components/safe_browsing_db/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698