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 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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, | 473 { key::kDeviceLoginScreenDomainAutoComplete, |
474 NULL, | 474 NULL, |
475 base::Value::TYPE_STRING }, | 475 base::Value::TYPE_STRING }, |
| 476 { key::kForceMaximizeOnFirstRun, |
| 477 prefs::kForceMaximizeOnFirstRun, |
| 478 base::Value::TYPE_BOOLEAN }, |
476 #endif // defined(OS_CHROMEOS) | 479 #endif // defined(OS_CHROMEOS) |
477 | 480 |
478 #if !defined(OS_MACOSX) && !defined(OS_CHROMEOS) | 481 #if !defined(OS_MACOSX) && !defined(OS_CHROMEOS) |
479 { key::kBackgroundModeEnabled, | 482 { key::kBackgroundModeEnabled, |
480 prefs::kBackgroundModeEnabled, | 483 prefs::kBackgroundModeEnabled, |
481 base::Value::TYPE_BOOLEAN }, | 484 base::Value::TYPE_BOOLEAN }, |
482 #endif // !defined(OS_MACOSX) && !defined(OS_CHROMEOS) | 485 #endif // !defined(OS_MACOSX) && !defined(OS_CHROMEOS) |
483 | 486 |
484 #if defined(OS_ANDROID) | 487 #if defined(OS_ANDROID) |
485 { key::kDataCompressionProxyEnabled, | 488 { key::kDataCompressionProxyEnabled, |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
748 handlers->AddHandler(make_scoped_ptr(new SimpleSchemaValidatingPolicyHandler( | 751 handlers->AddHandler(make_scoped_ptr(new SimpleSchemaValidatingPolicyHandler( |
749 key::kSessionLocales, NULL, chrome_schema, SCHEMA_STRICT, | 752 key::kSessionLocales, NULL, chrome_schema, SCHEMA_STRICT, |
750 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, | 753 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, |
751 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); | 754 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); |
752 #endif // defined(OS_CHROMEOS) | 755 #endif // defined(OS_CHROMEOS) |
753 | 756 |
754 return handlers.Pass(); | 757 return handlers.Pass(); |
755 } | 758 } |
756 | 759 |
757 } // namespace policy | 760 } // namespace policy |
OLD | NEW |