| 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::kForceMaximizeOnFirstRun, |
| 470 prefs::kForceMaximizeOnFirstRun, |
| 471 base::Value::TYPE_BOOLEAN }, |
| 469 #endif // defined(OS_CHROMEOS) | 472 #endif // defined(OS_CHROMEOS) |
| 470 | 473 |
| 471 #if !defined(OS_MACOSX) && !defined(OS_CHROMEOS) | 474 #if !defined(OS_MACOSX) && !defined(OS_CHROMEOS) |
| 472 { key::kBackgroundModeEnabled, | 475 { key::kBackgroundModeEnabled, |
| 473 prefs::kBackgroundModeEnabled, | 476 prefs::kBackgroundModeEnabled, |
| 474 base::Value::TYPE_BOOLEAN }, | 477 base::Value::TYPE_BOOLEAN }, |
| 475 #endif // !defined(OS_MACOSX) && !defined(OS_CHROMEOS) | 478 #endif // !defined(OS_MACOSX) && !defined(OS_CHROMEOS) |
| 476 | 479 |
| 477 #if defined(OS_ANDROID) | 480 #if defined(OS_ANDROID) |
| 478 { key::kDataCompressionProxyEnabled, | 481 { key::kDataCompressionProxyEnabled, |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 741 handlers->AddHandler(make_scoped_ptr(new SimpleSchemaValidatingPolicyHandler( | 744 handlers->AddHandler(make_scoped_ptr(new SimpleSchemaValidatingPolicyHandler( |
| 742 key::kSessionLocales, NULL, chrome_schema, SCHEMA_STRICT, | 745 key::kSessionLocales, NULL, chrome_schema, SCHEMA_STRICT, |
| 743 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, | 746 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, |
| 744 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); | 747 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); |
| 745 #endif // defined(OS_CHROMEOS) | 748 #endif // defined(OS_CHROMEOS) |
| 746 | 749 |
| 747 return handlers.Pass(); | 750 return handlers.Pass(); |
| 748 } | 751 } |
| 749 | 752 |
| 750 } // namespace policy | 753 } // namespace policy |
| OLD | NEW |