OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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.h" | 5 #include "chrome/browser/policy/configuration_policy_handler_list.h" |
6 | 6 |
7 #include <limits> | 7 #include <limits> |
8 | 8 |
9 #include "base/prefs/pref_value_map.h" | 9 #include "base/prefs/pref_value_map.h" |
10 #include "base/stl_util.h" | 10 #include "base/stl_util.h" |
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 Value::TYPE_BOOLEAN }, | 315 Value::TYPE_BOOLEAN }, |
316 { key::kDisableScreenshots, | 316 { key::kDisableScreenshots, |
317 prefs::kDisableScreenshots, | 317 prefs::kDisableScreenshots, |
318 Value::TYPE_BOOLEAN }, | 318 Value::TYPE_BOOLEAN }, |
319 { key::kAudioCaptureAllowed, | 319 { key::kAudioCaptureAllowed, |
320 prefs::kAudioCaptureAllowed, | 320 prefs::kAudioCaptureAllowed, |
321 Value::TYPE_BOOLEAN }, | 321 Value::TYPE_BOOLEAN }, |
322 { key::kVideoCaptureAllowed, | 322 { key::kVideoCaptureAllowed, |
323 prefs::kVideoCaptureAllowed, | 323 prefs::kVideoCaptureAllowed, |
324 Value::TYPE_BOOLEAN }, | 324 Value::TYPE_BOOLEAN }, |
| 325 { key::kHideWebStoreIcon, |
| 326 prefs::kHideWebStoreIcon, |
| 327 Value::TYPE_BOOLEAN }, |
325 | 328 |
326 #if defined(OS_CHROMEOS) | 329 #if defined(OS_CHROMEOS) |
327 { key::kChromeOsLockOnIdleSuspend, | 330 { key::kChromeOsLockOnIdleSuspend, |
328 prefs::kEnableScreenLock, | 331 prefs::kEnableScreenLock, |
329 Value::TYPE_BOOLEAN }, | 332 Value::TYPE_BOOLEAN }, |
330 { key::kChromeOsReleaseChannel, | 333 { key::kChromeOsReleaseChannel, |
331 prefs::kChromeOsReleaseChannel, | 334 prefs::kChromeOsReleaseChannel, |
332 Value::TYPE_STRING }, | 335 Value::TYPE_STRING }, |
333 { key::kDriveDisabled, | 336 { key::kDriveDisabled, |
334 prefs::kDisableDrive, | 337 prefs::kDisableDrive, |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
519 } | 522 } |
520 | 523 |
521 void ConfigurationPolicyHandlerList::PrepareForDisplaying( | 524 void ConfigurationPolicyHandlerList::PrepareForDisplaying( |
522 PolicyMap* policies) const { | 525 PolicyMap* policies) const { |
523 std::vector<ConfigurationPolicyHandler*>::const_iterator handler; | 526 std::vector<ConfigurationPolicyHandler*>::const_iterator handler; |
524 for (handler = handlers_.begin(); handler != handlers_.end(); ++handler) | 527 for (handler = handlers_.begin(); handler != handlers_.end(); ++handler) |
525 (*handler)->PrepareForDisplaying(policies); | 528 (*handler)->PrepareForDisplaying(policies); |
526 } | 529 } |
527 | 530 |
528 } // namespace policy | 531 } // namespace policy |
OLD | NEW |