Chromium Code Reviews| 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/extensions/api/messaging/native_messaging_policy_handle r.h" | 10 #include "chrome/browser/extensions/api/messaging/native_messaging_policy_handle r.h" |
| (...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 412 base::Value::TYPE_BOOLEAN }, | 412 base::Value::TYPE_BOOLEAN }, |
| 413 { key::kSpokenFeedbackEnabled, | 413 { key::kSpokenFeedbackEnabled, |
| 414 prefs::kSpokenFeedbackEnabled, | 414 prefs::kSpokenFeedbackEnabled, |
| 415 base::Value::TYPE_BOOLEAN }, | 415 base::Value::TYPE_BOOLEAN }, |
| 416 { key::kHighContrastEnabled, | 416 { key::kHighContrastEnabled, |
| 417 prefs::kHighContrastEnabled, | 417 prefs::kHighContrastEnabled, |
| 418 base::Value::TYPE_BOOLEAN }, | 418 base::Value::TYPE_BOOLEAN }, |
| 419 { key::kDeviceLoginScreenDefaultLargeCursorEnabled, | 419 { key::kDeviceLoginScreenDefaultLargeCursorEnabled, |
| 420 NULL, | 420 NULL, |
| 421 base::Value::TYPE_BOOLEAN }, | 421 base::Value::TYPE_BOOLEAN }, |
| 422 { key::kDeviceLoginScreenDefaultSpokenFeedbackEnabled, | |
| 423 NULL, | |
| 424 base::Value::TYPE_BOOLEAN }, | |
|
Mattias Nissler (ping if slow)
2014/01/17 12:37:23
I don't think removing the policy is a good idea,
| |
| 425 { key::kDeviceLoginScreenDefaultHighContrastEnabled, | 422 { key::kDeviceLoginScreenDefaultHighContrastEnabled, |
| 426 NULL, | 423 NULL, |
| 427 base::Value::TYPE_BOOLEAN }, | 424 base::Value::TYPE_BOOLEAN }, |
| 428 { key::kRebootAfterUpdate, | 425 { key::kRebootAfterUpdate, |
| 429 prefs::kRebootAfterUpdate, | 426 prefs::kRebootAfterUpdate, |
| 430 base::Value::TYPE_BOOLEAN }, | 427 base::Value::TYPE_BOOLEAN }, |
| 431 { key::kAttestationEnabledForUser, | 428 { key::kAttestationEnabledForUser, |
| 432 prefs::kAttestationEnabled, | 429 prefs::kAttestationEnabled, |
| 433 base::Value::TYPE_BOOLEAN }, | 430 base::Value::TYPE_BOOLEAN }, |
| 434 { key::kChromeOsMultiProfileUserBehavior, | 431 { key::kChromeOsMultiProfileUserBehavior, |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 661 | 658 |
| 662 #if defined(OS_ANDROID) | 659 #if defined(OS_ANDROID) |
| 663 handlers->AddHandler(make_scoped_ptr<ConfigurationPolicyHandler>( | 660 handlers->AddHandler(make_scoped_ptr<ConfigurationPolicyHandler>( |
| 664 new ManagedBookmarksPolicyHandler())); | 661 new ManagedBookmarksPolicyHandler())); |
| 665 #endif | 662 #endif |
| 666 return handlers.Pass(); | 663 return handlers.Pass(); |
| 667 } | 664 } |
| 668 #endif // !defined(OS_IOS) | 665 #endif // !defined(OS_IOS) |
| 669 | 666 |
| 670 } // namespace policy | 667 } // namespace policy |
| OLD | NEW |