| 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 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 463 base::Value::TYPE_BOOLEAN }, | 463 base::Value::TYPE_BOOLEAN }, |
| 464 { key::kTouchVirtualKeyboardEnabled, | 464 { key::kTouchVirtualKeyboardEnabled, |
| 465 prefs::kTouchVirtualKeyboardEnabled, | 465 prefs::kTouchVirtualKeyboardEnabled, |
| 466 base::Value::TYPE_BOOLEAN }, | 466 base::Value::TYPE_BOOLEAN }, |
| 467 { key::kEasyUnlockAllowed, | 467 { key::kEasyUnlockAllowed, |
| 468 prefs::kEasyUnlockAllowed, | 468 prefs::kEasyUnlockAllowed, |
| 469 base::Value::TYPE_BOOLEAN }, | 469 base::Value::TYPE_BOOLEAN }, |
| 470 { key::kCaptivePortalAuthenticationIgnoresProxy, | 470 { key::kCaptivePortalAuthenticationIgnoresProxy, |
| 471 prefs::kCaptivePortalAuthenticationIgnoresProxy, | 471 prefs::kCaptivePortalAuthenticationIgnoresProxy, |
| 472 base::Value::TYPE_BOOLEAN }, | 472 base::Value::TYPE_BOOLEAN }, |
| 473 { key::kDeviceLoginScreenDomainAutoComplete, | |
| 474 NULL, | |
| 475 base::Value::TYPE_STRING }, | |
| 476 #endif // defined(OS_CHROMEOS) | 473 #endif // defined(OS_CHROMEOS) |
| 477 | 474 |
| 478 #if !defined(OS_MACOSX) && !defined(OS_CHROMEOS) | 475 #if !defined(OS_MACOSX) && !defined(OS_CHROMEOS) |
| 479 { key::kBackgroundModeEnabled, | 476 { key::kBackgroundModeEnabled, |
| 480 prefs::kBackgroundModeEnabled, | 477 prefs::kBackgroundModeEnabled, |
| 481 base::Value::TYPE_BOOLEAN }, | 478 base::Value::TYPE_BOOLEAN }, |
| 482 #endif // !defined(OS_MACOSX) && !defined(OS_CHROMEOS) | 479 #endif // !defined(OS_MACOSX) && !defined(OS_CHROMEOS) |
| 483 | 480 |
| 484 #if defined(OS_ANDROID) | 481 #if defined(OS_ANDROID) |
| 485 { key::kDataCompressionProxyEnabled, | 482 { key::kDataCompressionProxyEnabled, |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 748 handlers->AddHandler(make_scoped_ptr(new SimpleSchemaValidatingPolicyHandler( | 745 handlers->AddHandler(make_scoped_ptr(new SimpleSchemaValidatingPolicyHandler( |
| 749 key::kSessionLocales, NULL, chrome_schema, SCHEMA_STRICT, | 746 key::kSessionLocales, NULL, chrome_schema, SCHEMA_STRICT, |
| 750 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, | 747 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, |
| 751 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); | 748 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); |
| 752 #endif // defined(OS_CHROMEOS) | 749 #endif // defined(OS_CHROMEOS) |
| 753 | 750 |
| 754 return handlers.Pass(); | 751 return handlers.Pass(); |
| 755 } | 752 } |
| 756 | 753 |
| 757 } // namespace policy | 754 } // namespace policy |
| OLD | NEW |