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

Unified Diff: chrome/browser/policy/configuration_policy_handler_list_factory.cc

Issue 2546533003: Respect QuicAllowed policy for new streams (Closed)
Patch Set: Move ApplySettingsOnIOThread out of NetHttpSessionParamsObserver Created 3 years, 11 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
Index: chrome/browser/policy/configuration_policy_handler_list_factory.cc
diff --git a/chrome/browser/policy/configuration_policy_handler_list_factory.cc b/chrome/browser/policy/configuration_policy_handler_list_factory.cc
index c028993d07a2535feda5e5c495821126f2d00027..49eba2e493b8d46db027727f615fd44a9b04c246 100644
--- a/chrome/browser/policy/configuration_policy_handler_list_factory.cc
+++ b/chrome/browser/policy/configuration_policy_handler_list_factory.cc
@@ -100,6 +100,7 @@ namespace {
// List of policy types to preference names. This is used for simple policies
// that directly map to a single preference.
+// clang-format off
const PolicyToPreferenceMapEntry kSimplePolicyMap[] = {
{ key::kHomepageLocation,
prefs::kHomePage,
@@ -125,6 +126,9 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = {
{ key::kPacHttpsUrlStrippingEnabled,
prefs::kPacHttpsUrlStrippingEnabled,
base::Value::Type::BOOLEAN },
+ { key::kQuicAllowed,
+ prefs::kQuicAllowed,
+ base::Value::Type::BOOLEAN },
{ key::kSafeBrowsingEnabled,
prefs::kSafeBrowsingEnabled,
base::Value::Type::BOOLEAN },
@@ -631,6 +635,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = {
syncer::prefs::kLocalSyncBackendDir,
base::Value::Type::STRING },
};
+// clang-format on
class ForceSafeSearchPolicyHandler : public TypeCheckingPolicyHandler {
public:

Powered by Google App Engine
This is Rietveld 408576698