OLD | NEW |
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 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
394 base::Value::Type::LIST }, | 394 base::Value::Type::LIST }, |
395 { key::kHideWebStoreIcon, | 395 { key::kHideWebStoreIcon, |
396 prefs::kHideWebStoreIcon, | 396 prefs::kHideWebStoreIcon, |
397 base::Value::Type::BOOLEAN }, | 397 base::Value::Type::BOOLEAN }, |
398 { key::kVariationsRestrictParameter, | 398 { key::kVariationsRestrictParameter, |
399 variations::prefs::kVariationsRestrictParameter, | 399 variations::prefs::kVariationsRestrictParameter, |
400 base::Value::Type::STRING }, | 400 base::Value::Type::STRING }, |
401 { key::kForceEphemeralProfiles, | 401 { key::kForceEphemeralProfiles, |
402 prefs::kForceEphemeralProfiles, | 402 prefs::kForceEphemeralProfiles, |
403 base::Value::Type::BOOLEAN }, | 403 base::Value::Type::BOOLEAN }, |
404 { key::kDHEEnabled, | |
405 ssl_config::prefs::kDHEEnabled, | |
406 base::Value::Type::BOOLEAN }, | |
407 { key::kNTPContentSuggestionsEnabled, | 404 { key::kNTPContentSuggestionsEnabled, |
408 ntp_snippets::prefs::kEnableSnippets, | 405 ntp_snippets::prefs::kEnableSnippets, |
409 base::Value::Type::BOOLEAN }, | 406 base::Value::Type::BOOLEAN }, |
410 #if defined(ENABLE_MEDIA_ROUTER) | 407 #if defined(ENABLE_MEDIA_ROUTER) |
411 { key::kEnableMediaRouter, | 408 { key::kEnableMediaRouter, |
412 prefs::kEnableMediaRouter, | 409 prefs::kEnableMediaRouter, |
413 base::Value::Type::BOOLEAN }, | 410 base::Value::Type::BOOLEAN }, |
414 #endif // defined(ENABLE_MEDIA_ROUTER) | 411 #endif // defined(ENABLE_MEDIA_ROUTER) |
415 #if BUILDFLAG(ENABLE_WEBRTC) | 412 #if BUILDFLAG(ENABLE_WEBRTC) |
416 { key::kWebRtcUdpPortRange, | 413 { key::kWebRtcUdpPortRange, |
(...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1001 #endif // defined(OS_CHROMEOS) | 998 #endif // defined(OS_CHROMEOS) |
1002 | 999 |
1003 #if BUILDFLAG(ENABLE_PLUGINS) | 1000 #if BUILDFLAG(ENABLE_PLUGINS) |
1004 handlers->AddHandler(base::MakeUnique<PluginPolicyHandler>()); | 1001 handlers->AddHandler(base::MakeUnique<PluginPolicyHandler>()); |
1005 #endif // BUILDFLAG(ENABLE_PLUGINS) | 1002 #endif // BUILDFLAG(ENABLE_PLUGINS) |
1006 | 1003 |
1007 return handlers; | 1004 return handlers; |
1008 } | 1005 } |
1009 | 1006 |
1010 } // namespace policy | 1007 } // namespace policy |
OLD | NEW |