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 "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "base/memory/scoped_vector.h" | 9 #include "base/memory/scoped_vector.h" |
10 #include "base/values.h" | 10 #include "base/values.h" |
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
459 base::Value::TYPE_BOOLEAN }, | 459 base::Value::TYPE_BOOLEAN }, |
460 { key::kTouchVirtualKeyboardEnabled, | 460 { key::kTouchVirtualKeyboardEnabled, |
461 prefs::kTouchVirtualKeyboardEnabled, | 461 prefs::kTouchVirtualKeyboardEnabled, |
462 base::Value::TYPE_BOOLEAN }, | 462 base::Value::TYPE_BOOLEAN }, |
463 { key::kEasyUnlockAllowed, | 463 { key::kEasyUnlockAllowed, |
464 prefs::kEasyUnlockAllowed, | 464 prefs::kEasyUnlockAllowed, |
465 base::Value::TYPE_BOOLEAN }, | 465 base::Value::TYPE_BOOLEAN }, |
466 { key::kCaptivePortalAuthenticationIgnoresProxy, | 466 { key::kCaptivePortalAuthenticationIgnoresProxy, |
467 prefs::kCaptivePortalAuthenticationIgnoresProxy, | 467 prefs::kCaptivePortalAuthenticationIgnoresProxy, |
468 base::Value::TYPE_BOOLEAN }, | 468 base::Value::TYPE_BOOLEAN }, |
469 { key::kDeviceLoginScreenDomainAutoComplete, | |
470 NULL, | |
471 base::Value::TYPE_STRING }, | |
472 #endif // defined(OS_CHROMEOS) | 469 #endif // defined(OS_CHROMEOS) |
473 | 470 |
474 #if !defined(OS_MACOSX) && !defined(OS_CHROMEOS) | 471 #if !defined(OS_MACOSX) && !defined(OS_CHROMEOS) |
475 { key::kBackgroundModeEnabled, | 472 { key::kBackgroundModeEnabled, |
476 prefs::kBackgroundModeEnabled, | 473 prefs::kBackgroundModeEnabled, |
477 base::Value::TYPE_BOOLEAN }, | 474 base::Value::TYPE_BOOLEAN }, |
478 #endif // !defined(OS_MACOSX) && !defined(OS_CHROMEOS) | 475 #endif // !defined(OS_MACOSX) && !defined(OS_CHROMEOS) |
479 | 476 |
480 #if defined(OS_ANDROID) | 477 #if defined(OS_ANDROID) |
481 { key::kDataCompressionProxyEnabled, | 478 { key::kDataCompressionProxyEnabled, |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
744 handlers->AddHandler(make_scoped_ptr(new SimpleSchemaValidatingPolicyHandler( | 741 handlers->AddHandler(make_scoped_ptr(new SimpleSchemaValidatingPolicyHandler( |
745 key::kSessionLocales, NULL, chrome_schema, SCHEMA_STRICT, | 742 key::kSessionLocales, NULL, chrome_schema, SCHEMA_STRICT, |
746 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, | 743 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, |
747 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); | 744 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); |
748 #endif // defined(OS_CHROMEOS) | 745 #endif // defined(OS_CHROMEOS) |
749 | 746 |
750 return handlers.Pass(); | 747 return handlers.Pass(); |
751 } | 748 } |
752 | 749 |
753 } // namespace policy | 750 } // namespace policy |
OLD | NEW |