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

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

Issue 10542048: Add a group policy controlling which sites can install extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 6 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') | 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 # 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
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
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 }
OLDNEW
« no previous file with comments | « chrome/common/pref_names.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698