Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(419)

Side by Side Diff: chrome/test/functional/policy_test_cases.py

Issue 10692110: screenshot disabling policy (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Addressed comments (2), hooking into GrabWindowSnapshot instead of ChromeShellDelegate, rebased on … Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« chrome/chrome_browser.gypi ('K') | « chrome/common/pref_names.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 # TODO(frankf): Add prefs for these after crosbug.com/28756 is fixed. 248 # TODO(frankf): Add prefs for these after crosbug.com/28756 is fixed.
249 'ChromeOsLockOnIdleSuspend': 249 'ChromeOsLockOnIdleSuspend':
250 (None, True, [BROWSER], ['chromeos']), 250 (None, True, [BROWSER], ['chromeos']),
251 'PolicyRefreshRate': 251 'PolicyRefreshRate':
252 (None, 300000, [], ['chromeos']), 252 (None, 300000, [], ['chromeos']),
253 'OpenNetworkConfiguration': (None, '', [], ['chromeos']), 253 'OpenNetworkConfiguration': (None, '', [], ['chromeos']),
254 'GDataDisabled': (None, True, [], ['chromeos']), 254 'GDataDisabled': (None, True, [], ['chromeos']),
255 'GDataDisabledOverCellular': 255 'GDataDisabledOverCellular':
256 (None, True, [], ['chromeos']), 256 (None, True, [], ['chromeos']),
257 'PinnedLauncherApps': (None, [], [], ['chromeos']), 257 'PinnedLauncherApps': (None, [], [], ['chromeos']),
258 'DisableScreenshots': ('kDisableScreenshots', False, [], ['chromeos']),
258 259
259 # ChromeOS Device policies: 260 # ChromeOS Device policies:
260 'DevicePolicyRefreshRate': (None, 300000, [], ['chromeos']), 261 'DevicePolicyRefreshRate': (None, 300000, [], ['chromeos']),
261 'ChromeOsReleaseChannel': (None, 'stable-channel', [], ['chromeos']), 262 'ChromeOsReleaseChannel': (None, 'stable-channel', [], ['chromeos']),
262 'ChromeOsReleaseChannelDelegated': (None, False, [], ['chromeos']), 263 'ChromeOsReleaseChannelDelegated': (None, False, [], ['chromeos']),
263 'DeviceOpenNetworkConfiguration': (None, '', [], ['chromeos']), 264 'DeviceOpenNetworkConfiguration': (None, '', [], ['chromeos']),
264 'ReportDeviceVersionInfo': (None, True, [], ['chromeos']), 265 'ReportDeviceVersionInfo': (None, True, [], ['chromeos']),
265 'ReportDeviceActivityTimes': (None, True, [], ['chromeos']), 266 'ReportDeviceActivityTimes': (None, True, [], ['chromeos']),
266 'ReportDeviceBootMode': (None, True, [], ['chromeos']), 267 'ReportDeviceBootMode': (None, True, [], ['chromeos']),
267 'DeviceAllowNewUsers': (None, True, [], ['chromeos']), 268 'DeviceAllowNewUsers': (None, True, [], ['chromeos']),
(...skipping 17 matching lines...) Expand all
285 'ReportDeviceLocation': (None, False, [], ['chromeos']), 286 'ReportDeviceLocation': (None, False, [], ['chromeos']),
286 287
287 # Chrome Frame policies: 288 # Chrome Frame policies:
288 'ChromeFrameRendererSettings': (None, 0, [], []), 289 'ChromeFrameRendererSettings': (None, 0, [], []),
289 'RenderInChromeFrameList': (None, ['google.com'], [], []), 290 'RenderInChromeFrameList': (None, ['google.com'], [], []),
290 'RenderInHostList': (None, ['google.com'], [], []), 291 'RenderInHostList': (None, ['google.com'], [], []),
291 'ChromeFrameContentTypes': (None, ['text/xml'], [], []), 292 'ChromeFrameContentTypes': (None, ['text/xml'], [], []),
292 'GCFUserDataDir': (None, '${user_name}/test-frame', [], []), 293 'GCFUserDataDir': (None, '${user_name}/test-frame', [], []),
293 'AdditionalLaunchParameters': (None, '--enable-media-stream', [], []), 294 'AdditionalLaunchParameters': (None, '--enable-media-stream', [], []),
294 } 295 }
OLDNEW
« chrome/chrome_browser.gypi ('K') | « chrome/common/pref_names.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698