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': | 69 # 'RemoteAccessHostRequireTwoFactor': |
70 ('kRemoteAccessHostRequireTwoFactor', False, [], | 70 # ('kRemoteAccessHostRequireTwoFactor', False, [], |
71 ['win', 'mac', 'linux']), | 71 # ['win', 'mac', 'linux']), |
72 'RemoteAccessHostDomain': | 72 # 'RemoteAccessHostDomain': |
73 ('kRemoteAccessHostDomain', '', [], ['win', 'mac', 'linux']), | 73 # ('kRemoteAccessHostDomain', '', [], ['win', 'mac', 'linux']), |
74 'RemoteAccessHostTalkGadgetPrefix': | 74 # 'RemoteAccessHostTalkGadgetPrefix': |
75 ('kRemoteAccessHostTalkGadgetPrefix', 'chromoting-host', [], | 75 # ('kRemoteAccessHostTalkGadgetPrefix', 'chromoting-host', [], |
76 ['win', 'mac', 'linux']), | 76 # ['win', 'mac', 'linux']), |
77 'PrintingEnabled': ('kPrintingEnabled', False, [], OS_ALL), | 77 'PrintingEnabled': ('kPrintingEnabled', False, [], OS_ALL), |
78 # Note: supported_on is empty for this policy. | 78 # Note: supported_on is empty for this policy. |
79 'CloudPrintProxyEnabled': ('kCloudPrintProxyEnabled', True, [], []), | 79 'CloudPrintProxyEnabled': ('kCloudPrintProxyEnabled', True, [], []), |
80 'CloudPrintSubmitEnabled': | 80 'CloudPrintSubmitEnabled': |
81 ('kCloudPrintSubmitEnabled', False, [], ['win', 'mac', 'linux']), | 81 ('kCloudPrintSubmitEnabled', False, [], ['win', 'mac', 'linux']), |
82 'SafeBrowsingEnabled': ('kSafeBrowsingEnabled', False, [BROWSER], OS_ALL), | 82 'SafeBrowsingEnabled': ('kSafeBrowsingEnabled', False, [BROWSER], OS_ALL), |
83 # TODO(joaodasilva): This is only in place on official builds, but the | 83 # TODO(joaodasilva): This is only in place on official builds, but the |
84 # SetUserCloudPolicy call is a nop on official builds. Should be BROWSER. | 84 # SetUserCloudPolicy call is a nop on official builds. Should be BROWSER. |
85 'MetricsReportingEnabled': | 85 'MetricsReportingEnabled': |
86 ('kMetricsReportingEnabled', False, [], ['win', 'mac', 'linux']), | 86 ('kMetricsReportingEnabled', False, [], ['win', 'mac', 'linux']), |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 'ReportDeviceLocation': (None, False, [], ['chromeos']), | 301 'ReportDeviceLocation': (None, False, [], ['chromeos']), |
302 | 302 |
303 # Chrome Frame policies: | 303 # Chrome Frame policies: |
304 'ChromeFrameRendererSettings': (None, 0, [], []), | 304 'ChromeFrameRendererSettings': (None, 0, [], []), |
305 'RenderInChromeFrameList': (None, ['google.com'], [], []), | 305 'RenderInChromeFrameList': (None, ['google.com'], [], []), |
306 'RenderInHostList': (None, ['google.com'], [], []), | 306 'RenderInHostList': (None, ['google.com'], [], []), |
307 'ChromeFrameContentTypes': (None, ['text/xml'], [], []), | 307 'ChromeFrameContentTypes': (None, ['text/xml'], [], []), |
308 'GCFUserDataDir': (None, '${user_name}/test-frame', [], []), | 308 'GCFUserDataDir': (None, '${user_name}/test-frame', [], []), |
309 'AdditionalLaunchParameters': (None, '--enable-media-stream', [], []), | 309 'AdditionalLaunchParameters': (None, '--enable-media-stream', [], []), |
310 } | 310 } |
OLD | NEW |