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

Side by Side Diff: chrome/browser/policy/configuration_policy_handler_list_factory.cc

Issue 2546533003: Respect QuicAllowed policy for new streams (Closed)
Patch Set: Fixed accesses to iothread globals from UI thread Created 4 years 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/browser/policy/configuration_policy_handler_list_factory.h" 5 #include "chrome/browser/policy/configuration_policy_handler_list_factory.h"
6 6
7 #include <limits.h> 7 #include <limits.h>
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <utility> 10 #include <utility>
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 base::Value::TYPE_BOOLEAN }, 114 base::Value::TYPE_BOOLEAN },
115 { key::kBuiltInDnsClientEnabled, 115 { key::kBuiltInDnsClientEnabled,
116 prefs::kBuiltInDnsClientEnabled, 116 prefs::kBuiltInDnsClientEnabled,
117 base::Value::TYPE_BOOLEAN }, 117 base::Value::TYPE_BOOLEAN },
118 { key::kWPADQuickCheckEnabled, 118 { key::kWPADQuickCheckEnabled,
119 prefs::kQuickCheckEnabled, 119 prefs::kQuickCheckEnabled,
120 base::Value::TYPE_BOOLEAN }, 120 base::Value::TYPE_BOOLEAN },
121 { key::kPacHttpsUrlStrippingEnabled, 121 { key::kPacHttpsUrlStrippingEnabled,
122 prefs::kPacHttpsUrlStrippingEnabled, 122 prefs::kPacHttpsUrlStrippingEnabled,
123 base::Value::TYPE_BOOLEAN }, 123 base::Value::TYPE_BOOLEAN },
124 { key::kQuicAllowed,
125 prefs::kQuicAllowed,
126 base::Value::TYPE_BOOLEAN },
124 { key::kSafeBrowsingEnabled, 127 { key::kSafeBrowsingEnabled,
125 prefs::kSafeBrowsingEnabled, 128 prefs::kSafeBrowsingEnabled,
126 base::Value::TYPE_BOOLEAN }, 129 base::Value::TYPE_BOOLEAN },
127 { key::kForceGoogleSafeSearch, 130 { key::kForceGoogleSafeSearch,
128 prefs::kForceGoogleSafeSearch, 131 prefs::kForceGoogleSafeSearch,
129 base::Value::TYPE_BOOLEAN }, 132 base::Value::TYPE_BOOLEAN },
130 { key::kForceYouTubeRestrict, 133 { key::kForceYouTubeRestrict,
131 prefs::kForceYouTubeRestrict, 134 prefs::kForceYouTubeRestrict,
132 base::Value::TYPE_INTEGER}, 135 base::Value::TYPE_INTEGER},
133 { key::kPasswordManagerEnabled, 136 { key::kPasswordManagerEnabled,
(...skipping 795 matching lines...) Expand 10 before | Expand all | Expand 10 after
929 #endif // defined(OS_CHROMEOS) 932 #endif // defined(OS_CHROMEOS)
930 933
931 #if BUILDFLAG(ENABLE_PLUGINS) 934 #if BUILDFLAG(ENABLE_PLUGINS)
932 handlers->AddHandler(base::MakeUnique<PluginPolicyHandler>()); 935 handlers->AddHandler(base::MakeUnique<PluginPolicyHandler>());
933 #endif // BUILDFLAG(ENABLE_PLUGINS) 936 #endif // BUILDFLAG(ENABLE_PLUGINS)
934 937
935 return handlers; 938 return handlers;
936 } 939 }
937 940
938 } // namespace policy 941 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698