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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 'AllowCrossOriginAuthPrompt': | 130 'AllowCrossOriginAuthPrompt': |
131 ('kAllowCrossOriginAuthPrompt', False, [], ['win', 'mac', 'linux']), | 131 ('kAllowCrossOriginAuthPrompt', False, [], ['win', 'mac', 'linux']), |
132 'ExtensionInstallBlacklist': | 132 'ExtensionInstallBlacklist': |
133 ('kExtensionInstallDenyList', ['*'], [], OS_ALL), | 133 ('kExtensionInstallDenyList', ['*'], [], OS_ALL), |
134 'ExtensionInstallWhitelist': | 134 'ExtensionInstallWhitelist': |
135 ('kExtensionInstallAllowList', ['lcncmkcnkcdbbanbjakcencbaoegdjlp'], | 135 ('kExtensionInstallAllowList', ['lcncmkcnkcdbbanbjakcencbaoegdjlp'], |
136 [], OS_ALL), | 136 [], OS_ALL), |
137 'ExtensionInstallForcelist': | 137 'ExtensionInstallForcelist': |
138 ('kExtensionInstallForceList', ['lcncmkcnkcdbbanbjakcencbaoegdjlp;' + | 138 ('kExtensionInstallForceList', ['lcncmkcnkcdbbanbjakcencbaoegdjlp;' + |
139 'https://clients2.google.com/service/update2/crx'], [], OS_ALL), | 139 'https://clients2.google.com/service/update2/crx'], [], OS_ALL), |
| 140 'ExtensionInstallSources': |
| 141 ('kExtensionInstallSources', ['https://www.corp.monkey.net/*'], |
| 142 [], OS_ALL), |
140 'ShowHomeButton': ('kShowHomeButton', True, [BROWSER], OS_ALL), | 143 'ShowHomeButton': ('kShowHomeButton', True, [BROWSER], OS_ALL), |
141 'DeveloperToolsDisabled': ('kDevToolsDisabled', True, [], OS_ALL), | 144 'DeveloperToolsDisabled': ('kDevToolsDisabled', True, [], OS_ALL), |
142 'RestoreOnStartup': (None, 5, [BROWSER], OS_ALL), | 145 'RestoreOnStartup': (None, 5, [BROWSER], OS_ALL), |
143 # TODO(joaodasilva): Should be BROWSER. http://crbug.com/97749 | 146 # TODO(joaodasilva): Should be BROWSER. http://crbug.com/97749 |
144 'RestoreOnStartupURLs': | 147 'RestoreOnStartupURLs': |
145 ('kURLsToRestoreOnStartup', ['chromium.org'], [], OS_ALL), | 148 ('kURLsToRestoreOnStartup', ['chromium.org'], [], OS_ALL), |
146 # TODO(joaodasilva): The banner is out of place. http://crbug.com/77791 | 149 # TODO(joaodasilva): The banner is out of place. http://crbug.com/77791 |
147 'BlockThirdPartyCookies': | 150 'BlockThirdPartyCookies': |
148 ('kBlockThirdPartyCookies', True, [CONTENT], OS_ALL), | 151 ('kBlockThirdPartyCookies', True, [CONTENT], OS_ALL), |
149 # TODO(joaodasilva): Should be BROWSER. http://crbug.com/97749 | 152 # TODO(joaodasilva): Should be BROWSER. http://crbug.com/97749 |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 'ReportDeviceLocation': (None, False, [], ['chromeos']), | 283 'ReportDeviceLocation': (None, False, [], ['chromeos']), |
281 | 284 |
282 # Chrome Frame policies: | 285 # Chrome Frame policies: |
283 'ChromeFrameRendererSettings': (None, 0, [], []), | 286 'ChromeFrameRendererSettings': (None, 0, [], []), |
284 'RenderInChromeFrameList': (None, ['google.com'], [], []), | 287 'RenderInChromeFrameList': (None, ['google.com'], [], []), |
285 'RenderInHostList': (None, ['google.com'], [], []), | 288 'RenderInHostList': (None, ['google.com'], [], []), |
286 'ChromeFrameContentTypes': (None, ['text/xml'], [], []), | 289 'ChromeFrameContentTypes': (None, ['text/xml'], [], []), |
287 'GCFUserDataDir': (None, '${user_name}/test-frame', [], []), | 290 'GCFUserDataDir': (None, '${user_name}/test-frame', [], []), |
288 'AdditionalLaunchParameters': (None, '--enable-media-stream', [], []), | 291 'AdditionalLaunchParameters': (None, '--enable-media-stream', [], []), |
289 } | 292 } |
OLD | NEW |