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

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

Issue 10827265: Add Chromoting curtain-mode policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reviewer feedback. Created 8 years, 4 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/common/pref_names.cc ('k') | remoting/host/policy_hack/policy_watcher.h » ('j') | 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 ('kSavingBrowserHistoryDisabled', True, [], OS_ALL), 64 ('kSavingBrowserHistoryDisabled', True, [], OS_ALL),
65 'RemoteAccessClientFirewallTraversal': (None, True, [], OS_ALL), 65 'RemoteAccessClientFirewallTraversal': (None, True, [], OS_ALL),
66 # TODO(frankf): Enable on all OS after crbug.com/121066 is fixed. 66 # TODO(frankf): Enable on all OS after crbug.com/121066 is fixed.
67 'RemoteAccessHostFirewallTraversal': 67 'RemoteAccessHostFirewallTraversal':
68 ('kRemoteAccessHostFirewallTraversal', True, [], []), 68 ('kRemoteAccessHostFirewallTraversal', True, [], []),
69 'RemoteAccessHostRequireTwoFactor': 69 'RemoteAccessHostRequireTwoFactor':
70 ('kRemoteAccessHostRequireTwoFactor', False, [], []), 70 ('kRemoteAccessHostRequireTwoFactor', False, [], []),
71 'RemoteAccessHostDomain': ('kRemoteAccessHostDomain', '', [], []), 71 'RemoteAccessHostDomain': ('kRemoteAccessHostDomain', '', [], []),
72 'RemoteAccessHostTalkGadgetPrefix': 72 'RemoteAccessHostTalkGadgetPrefix':
73 ('kRemoteAccessHostTalkGadgetPrefix', 'chromoting-host', [], []), 73 ('kRemoteAccessHostTalkGadgetPrefix', 'chromoting-host', [], []),
74 'RemoteAccessHostRequireCurtain':
75 ('kRemoteAccessHostRequireCurtain', False, [], []),
74 'PrintingEnabled': ('kPrintingEnabled', False, [], OS_ALL), 76 'PrintingEnabled': ('kPrintingEnabled', False, [], OS_ALL),
75 # Note: supported_on is empty for this policy. 77 # Note: supported_on is empty for this policy.
76 'CloudPrintProxyEnabled': ('kCloudPrintProxyEnabled', True, [], []), 78 'CloudPrintProxyEnabled': ('kCloudPrintProxyEnabled', True, [], []),
77 'CloudPrintSubmitEnabled': 79 'CloudPrintSubmitEnabled':
78 ('kCloudPrintSubmitEnabled', False, [], ['win', 'mac', 'linux']), 80 ('kCloudPrintSubmitEnabled', False, [], ['win', 'mac', 'linux']),
79 'SafeBrowsingEnabled': ('kSafeBrowsingEnabled', False, [BROWSER], OS_ALL), 81 'SafeBrowsingEnabled': ('kSafeBrowsingEnabled', False, [BROWSER], OS_ALL),
80 # TODO(joaodasilva): This is only in place on official builds, but the 82 # TODO(joaodasilva): This is only in place on official builds, but the
81 # SetUserCloudPolicy call is a nop on official builds. Should be BROWSER. 83 # SetUserCloudPolicy call is a nop on official builds. Should be BROWSER.
82 'MetricsReportingEnabled': 84 'MetricsReportingEnabled':
83 ('kMetricsReportingEnabled', False, [], ['win', 'mac', 'linux']), 85 ('kMetricsReportingEnabled', False, [], ['win', 'mac', 'linux']),
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 'ReportDeviceLocation': (None, False, [], ['chromeos']), 300 'ReportDeviceLocation': (None, False, [], ['chromeos']),
299 301
300 # Chrome Frame policies: 302 # Chrome Frame policies:
301 'ChromeFrameRendererSettings': (None, 0, [], []), 303 'ChromeFrameRendererSettings': (None, 0, [], []),
302 'RenderInChromeFrameList': (None, ['google.com'], [], []), 304 'RenderInChromeFrameList': (None, ['google.com'], [], []),
303 'RenderInHostList': (None, ['google.com'], [], []), 305 'RenderInHostList': (None, ['google.com'], [], []),
304 'ChromeFrameContentTypes': (None, ['text/xml'], [], []), 306 'ChromeFrameContentTypes': (None, ['text/xml'], [], []),
305 'GCFUserDataDir': (None, '${user_name}/test-frame', [], []), 307 'GCFUserDataDir': (None, '${user_name}/test-frame', [], []),
306 'AdditionalLaunchParameters': (None, '--enable-media-stream', [], []), 308 'AdditionalLaunchParameters': (None, '--enable-media-stream', [], []),
307 } 309 }
OLDNEW
« no previous file with comments | « chrome/common/pref_names.cc ('k') | remoting/host/policy_hack/policy_watcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698