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

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

Issue 9668001: Add a new policy to allow for release channel delegation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ToT rebase. Created 8 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/webui/options/chromeos/about_page_handler.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 class PolicyPrefsTestCases(object): 9 class PolicyPrefsTestCases(object):
10 """A list of test cases for policy_prefs_ui.py.""" 10 """A list of test cases for policy_prefs_ui.py."""
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 'DisablePrintPreview': (True, [], [ 'win', 'mac', 'linux' ]), 169 'DisablePrintPreview': (True, [], [ 'win', 'mac', 'linux' ]),
170 170
171 # ChromeOS-only policies: 171 # ChromeOS-only policies:
172 'ChromeOsLockOnIdleSuspend': (True, [ PERSONAL ], [ 'chromeos' ]), 172 'ChromeOsLockOnIdleSuspend': (True, [ PERSONAL ], [ 'chromeos' ]),
173 'PolicyRefreshRate': (300000, [], [ 'chromeos' ]), 173 'PolicyRefreshRate': (300000, [], [ 'chromeos' ]),
174 'OpenNetworkConfiguration': ('', [], [ 'chromeos' ]), 174 'OpenNetworkConfiguration': ('', [], [ 'chromeos' ]),
175 175
176 # ChromeOS Device policies: 176 # ChromeOS Device policies:
177 'DevicePolicyRefreshRate': (300000, [], []), 177 'DevicePolicyRefreshRate': (300000, [], []),
178 'ChromeOsReleaseChannel': ('stable-channel', [], []), 178 'ChromeOsReleaseChannel': ('stable-channel', [], []),
179 'ChromeOsReleaseChannelDelegated': (False, [], []),
179 'DeviceOpenNetworkConfiguration': ('', [], []), 180 'DeviceOpenNetworkConfiguration': ('', [], []),
180 'ReportDeviceVersionInfo': (True, [], []), 181 'ReportDeviceVersionInfo': (True, [], []),
181 'ReportDeviceActivityTimes': (True, [], []), 182 'ReportDeviceActivityTimes': (True, [], []),
182 'ReportDeviceBootMode': (True, [], []), 183 'ReportDeviceBootMode': (True, [], []),
183 'DeviceAllowNewUsers': (True, [], []), 184 'DeviceAllowNewUsers': (True, [], []),
184 'DeviceUserWhitelist': ([], [], []), 185 'DeviceUserWhitelist': ([], [], []),
185 'DeviceGuestModeEnabled': (True, [], []), 186 'DeviceGuestModeEnabled': (True, [], []),
186 'DeviceShowUserNamesOnSignin': (True, [], []), 187 'DeviceShowUserNamesOnSignin': (True, [], []),
187 'DeviceDataRoamingEnabled': (True, [], []), 188 'DeviceDataRoamingEnabled': (True, [], []),
188 'DeviceMetricsReportingEnabled': (True, [], []), 189 'DeviceMetricsReportingEnabled': (True, [], []),
189 'DeviceEphemeralUsersEnabled': (True, [], []), 190 'DeviceEphemeralUsersEnabled': (True, [], []),
190 'DeviceIdleLogoutTimeout': (60000, [], []), 191 'DeviceIdleLogoutTimeout': (60000, [], []),
191 'DeviceIdleLogoutWarningDuration': (15000, [], []), 192 'DeviceIdleLogoutWarningDuration': (15000, [], []),
192 'DeviceLoginScreenSaverId': ('lcncmkcnkcdbbanbjakcencbaoegdjlp', [], []), 193 'DeviceLoginScreenSaverId': ('lcncmkcnkcdbbanbjakcencbaoegdjlp', [], []),
193 'DeviceLoginScreenSaverTimeout': (30000, [], []), 194 'DeviceLoginScreenSaverTimeout': (30000, [], []),
194 195
195 # Chrome Frame policies: 196 # Chrome Frame policies:
196 'ChromeFrameRendererSettings': (0, [], []), 197 'ChromeFrameRendererSettings': (0, [], []),
197 'RenderInChromeFrameList': ([ 'google.com' ], [], []), 198 'RenderInChromeFrameList': ([ 'google.com' ], [], []),
198 'RenderInHostList': ([ 'google.com' ], [], []), 199 'RenderInHostList': ([ 'google.com' ], [], []),
199 'ChromeFrameContentTypes': ([ 'text/xml' ], [], []), 200 'ChromeFrameContentTypes': ([ 'text/xml' ], [], []),
200 'GCFUserDataDir': ('${user_name}/test-frame', [], []), 201 'GCFUserDataDir': ('${user_name}/test-frame', [], []),
201 } 202 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/chromeos/about_page_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698