| 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/values.h" | 9 #include "base/values.h" |
| 10 #include "chrome/browser/net/proxy_policy_handler.h" | 10 #include "chrome/browser/net/proxy_policy_handler.h" |
| (...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 415 base::Value::TYPE_BOOLEAN }, | 415 base::Value::TYPE_BOOLEAN }, |
| 416 { key::kLargeCursorEnabled, | 416 { key::kLargeCursorEnabled, |
| 417 prefs::kLargeCursorEnabled, | 417 prefs::kLargeCursorEnabled, |
| 418 base::Value::TYPE_BOOLEAN }, | 418 base::Value::TYPE_BOOLEAN }, |
| 419 { key::kSpokenFeedbackEnabled, | 419 { key::kSpokenFeedbackEnabled, |
| 420 prefs::kSpokenFeedbackEnabled, | 420 prefs::kSpokenFeedbackEnabled, |
| 421 base::Value::TYPE_BOOLEAN }, | 421 base::Value::TYPE_BOOLEAN }, |
| 422 { key::kHighContrastEnabled, | 422 { key::kHighContrastEnabled, |
| 423 prefs::kHighContrastEnabled, | 423 prefs::kHighContrastEnabled, |
| 424 base::Value::TYPE_BOOLEAN }, | 424 base::Value::TYPE_BOOLEAN }, |
| 425 { key::kVirtualKeyboardEnabled, |
| 426 prefs::kVirtualKeyboardEnabled, |
| 427 base::Value::TYPE_BOOLEAN }, |
| 425 { key::kDeviceLoginScreenDefaultLargeCursorEnabled, | 428 { key::kDeviceLoginScreenDefaultLargeCursorEnabled, |
| 426 NULL, | 429 NULL, |
| 427 base::Value::TYPE_BOOLEAN }, | 430 base::Value::TYPE_BOOLEAN }, |
| 428 { key::kDeviceLoginScreenDefaultSpokenFeedbackEnabled, | 431 { key::kDeviceLoginScreenDefaultSpokenFeedbackEnabled, |
| 429 NULL, | 432 NULL, |
| 430 base::Value::TYPE_BOOLEAN }, | 433 base::Value::TYPE_BOOLEAN }, |
| 431 { key::kDeviceLoginScreenDefaultHighContrastEnabled, | 434 { key::kDeviceLoginScreenDefaultHighContrastEnabled, |
| 432 NULL, | 435 NULL, |
| 433 base::Value::TYPE_BOOLEAN }, | 436 base::Value::TYPE_BOOLEAN }, |
| 437 { key::kDeviceLoginScreenDefaultVirtualKeyboardEnabled, |
| 438 NULL, |
| 439 base::Value::TYPE_BOOLEAN }, |
| 434 { key::kRebootAfterUpdate, | 440 { key::kRebootAfterUpdate, |
| 435 prefs::kRebootAfterUpdate, | 441 prefs::kRebootAfterUpdate, |
| 436 base::Value::TYPE_BOOLEAN }, | 442 base::Value::TYPE_BOOLEAN }, |
| 437 { key::kAttestationEnabledForUser, | 443 { key::kAttestationEnabledForUser, |
| 438 prefs::kAttestationEnabled, | 444 prefs::kAttestationEnabled, |
| 439 base::Value::TYPE_BOOLEAN }, | 445 base::Value::TYPE_BOOLEAN }, |
| 440 { key::kChromeOsMultiProfileUserBehavior, | 446 { key::kChromeOsMultiProfileUserBehavior, |
| 441 prefs::kMultiProfileUserBehavior, | 447 prefs::kMultiProfileUserBehavior, |
| 442 base::Value::TYPE_STRING }, | 448 base::Value::TYPE_STRING }, |
| 443 #endif // defined(OS_CHROMEOS) | 449 #endif // defined(OS_CHROMEOS) |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 681 #endif // defined(OS_CHROMEOS) | 687 #endif // defined(OS_CHROMEOS) |
| 682 | 688 |
| 683 #if defined(OS_ANDROID) | 689 #if defined(OS_ANDROID) |
| 684 handlers->AddHandler(make_scoped_ptr<ConfigurationPolicyHandler>( | 690 handlers->AddHandler(make_scoped_ptr<ConfigurationPolicyHandler>( |
| 685 new ManagedBookmarksPolicyHandler())); | 691 new ManagedBookmarksPolicyHandler())); |
| 686 #endif | 692 #endif |
| 687 return handlers.Pass(); | 693 return handlers.Pass(); |
| 688 } | 694 } |
| 689 | 695 |
| 690 } // namespace policy | 696 } // namespace policy |
| OLD | NEW |