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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
59 'DisabledSchemes': ('kDisabledSchemes', ['file'], [], OS_ALL), | 59 'DisabledSchemes': ('kDisabledSchemes', ['file'], [], OS_ALL), |
60 'JavascriptEnabled': (None, False, [CONTENT], OS_ALL), | 60 'JavascriptEnabled': (None, False, [CONTENT], OS_ALL), |
61 'IncognitoEnabled': (None, False, [], OS_ALL), | 61 'IncognitoEnabled': (None, False, [], OS_ALL), |
62 'IncognitoModeAvailability': (None, 1, [], OS_ALL), | 62 'IncognitoModeAvailability': (None, 1, [], OS_ALL), |
63 'SavingBrowserHistoryDisabled': | 63 'SavingBrowserHistoryDisabled': |
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': | |
Nirnimesh
2012/08/02 23:58:38
Do these apply to chromeos too?
garykac
2012/08/03 01:35:07
We currently don't support hosts on ChromeOS, but
| |
70 ('kRemoteAccessHostRequireTwoFactor', False, [], OS_ALL), | |
71 'RemoteAccessHostDomain': | |
72 ('kRemoteAccessHostDomain', '', [], OS_ALL), | |
73 'RemoteAccessHostTalkGadgetPrefix': | |
74 ('kRemoteAccessHostTalkGadgetPrefix', 'chromoting-host', [], OS_ALL), | |
69 'PrintingEnabled': ('kPrintingEnabled', False, [], OS_ALL), | 75 'PrintingEnabled': ('kPrintingEnabled', False, [], OS_ALL), |
70 # Note: supported_on is empty for this policy. | 76 # Note: supported_on is empty for this policy. |
71 'CloudPrintProxyEnabled': ('kCloudPrintProxyEnabled', True, [], []), | 77 'CloudPrintProxyEnabled': ('kCloudPrintProxyEnabled', True, [], []), |
72 'CloudPrintSubmitEnabled': | 78 'CloudPrintSubmitEnabled': |
73 ('kCloudPrintSubmitEnabled', False, [], ['win', 'mac', 'linux']), | 79 ('kCloudPrintSubmitEnabled', False, [], ['win', 'mac', 'linux']), |
74 'SafeBrowsingEnabled': ('kSafeBrowsingEnabled', False, [BROWSER], OS_ALL), | 80 'SafeBrowsingEnabled': ('kSafeBrowsingEnabled', False, [BROWSER], OS_ALL), |
75 # TODO(joaodasilva): This is only in place on official builds, but the | 81 # TODO(joaodasilva): This is only in place on official builds, but the |
76 # SetUserCloudPolicy call is a nop on official builds. Should be BROWSER. | 82 # SetUserCloudPolicy call is a nop on official builds. Should be BROWSER. |
77 'MetricsReportingEnabled': | 83 'MetricsReportingEnabled': |
78 ('kMetricsReportingEnabled', False, [], ['win', 'mac', 'linux']), | 84 ('kMetricsReportingEnabled', False, [], ['win', 'mac', 'linux']), |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
293 'ReportDeviceLocation': (None, False, [], ['chromeos']), | 299 'ReportDeviceLocation': (None, False, [], ['chromeos']), |
294 | 300 |
295 # Chrome Frame policies: | 301 # Chrome Frame policies: |
296 'ChromeFrameRendererSettings': (None, 0, [], []), | 302 'ChromeFrameRendererSettings': (None, 0, [], []), |
297 'RenderInChromeFrameList': (None, ['google.com'], [], []), | 303 'RenderInChromeFrameList': (None, ['google.com'], [], []), |
298 'RenderInHostList': (None, ['google.com'], [], []), | 304 'RenderInHostList': (None, ['google.com'], [], []), |
299 'ChromeFrameContentTypes': (None, ['text/xml'], [], []), | 305 'ChromeFrameContentTypes': (None, ['text/xml'], [], []), |
300 'GCFUserDataDir': (None, '${user_name}/test-frame', [], []), | 306 'GCFUserDataDir': (None, '${user_name}/test-frame', [], []), |
301 'AdditionalLaunchParameters': (None, '--enable-media-stream', [], []), | 307 'AdditionalLaunchParameters': (None, '--enable-media-stream', [], []), |
302 } | 308 } |
OLD | NEW |