OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 # This data is in a separate file so that src/chrome/app/policy/PRESUBMIT.py | 6 # This data is in a separate file so that src/chrome/app/policy/PRESUBMIT.py |
7 # can load it too without having to load pyautolib. | 7 # can load it too without having to load pyautolib. |
8 | 8 |
9 # DO NOT import pyauto from here! This file is required to run a presubmit | 9 # DO NOT import pyauto from here! This file is required to run a presubmit |
10 # scripts that will always fail if pyautolib isn't available, which is common. | 10 # scripts that will always fail if pyautolib isn't available, which is common. |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 # TODO(frankf): Add prefs for these after crosbug.com/28756 is fixed. | 250 # TODO(frankf): Add prefs for these after crosbug.com/28756 is fixed. |
251 'ChromeOsLockOnIdleSuspend': | 251 'ChromeOsLockOnIdleSuspend': |
252 (None, True, [BROWSER], ['chromeos']), | 252 (None, True, [BROWSER], ['chromeos']), |
253 'PolicyRefreshRate': | 253 'PolicyRefreshRate': |
254 (None, 300000, [], ['chromeos']), | 254 (None, 300000, [], ['chromeos']), |
255 'OpenNetworkConfiguration': (None, '', [], ['chromeos']), | 255 'OpenNetworkConfiguration': (None, '', [], ['chromeos']), |
256 'GDataDisabled': (None, True, [], ['chromeos']), | 256 'GDataDisabled': (None, True, [], ['chromeos']), |
257 'GDataDisabledOverCellular': | 257 'GDataDisabledOverCellular': |
258 (None, True, [], ['chromeos']), | 258 (None, True, [], ['chromeos']), |
259 'PinnedLauncherApps': (None, [], [], ['chromeos']), | 259 'PinnedLauncherApps': (None, [], [], ['chromeos']), |
| 260 'DisableScreenshots': ('kDisableScreenshots', False, [], ['chromeos']), |
260 | 261 |
261 # ChromeOS Device policies: | 262 # ChromeOS Device policies: |
262 'DevicePolicyRefreshRate': (None, 300000, [], ['chromeos']), | 263 'DevicePolicyRefreshRate': (None, 300000, [], ['chromeos']), |
263 'ChromeOsReleaseChannel': (None, 'stable-channel', [], ['chromeos']), | 264 'ChromeOsReleaseChannel': (None, 'stable-channel', [], ['chromeos']), |
264 'ChromeOsReleaseChannelDelegated': (None, False, [], ['chromeos']), | 265 'ChromeOsReleaseChannelDelegated': (None, False, [], ['chromeos']), |
265 'DeviceOpenNetworkConfiguration': (None, '', [], ['chromeos']), | 266 'DeviceOpenNetworkConfiguration': (None, '', [], ['chromeos']), |
266 'ReportDeviceVersionInfo': (None, True, [], ['chromeos']), | 267 'ReportDeviceVersionInfo': (None, True, [], ['chromeos']), |
267 'ReportDeviceActivityTimes': (None, True, [], ['chromeos']), | 268 'ReportDeviceActivityTimes': (None, True, [], ['chromeos']), |
268 'ReportDeviceBootMode': (None, True, [], ['chromeos']), | 269 'ReportDeviceBootMode': (None, True, [], ['chromeos']), |
269 'DeviceAllowNewUsers': (None, True, [], ['chromeos']), | 270 'DeviceAllowNewUsers': (None, True, [], ['chromeos']), |
(...skipping 17 matching lines...) Expand all Loading... |
287 'ReportDeviceLocation': (None, False, [], ['chromeos']), | 288 'ReportDeviceLocation': (None, False, [], ['chromeos']), |
288 | 289 |
289 # Chrome Frame policies: | 290 # Chrome Frame policies: |
290 'ChromeFrameRendererSettings': (None, 0, [], []), | 291 'ChromeFrameRendererSettings': (None, 0, [], []), |
291 'RenderInChromeFrameList': (None, ['google.com'], [], []), | 292 'RenderInChromeFrameList': (None, ['google.com'], [], []), |
292 'RenderInHostList': (None, ['google.com'], [], []), | 293 'RenderInHostList': (None, ['google.com'], [], []), |
293 'ChromeFrameContentTypes': (None, ['text/xml'], [], []), | 294 'ChromeFrameContentTypes': (None, ['text/xml'], [], []), |
294 'GCFUserDataDir': (None, '${user_name}/test-frame', [], []), | 295 'GCFUserDataDir': (None, '${user_name}/test-frame', [], []), |
295 'AdditionalLaunchParameters': (None, '--enable-media-stream', [], []), | 296 'AdditionalLaunchParameters': (None, '--enable-media-stream', [], []), |
296 } | 297 } |
OLD | NEW |