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

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

Issue 10537099: add "always allow" option to the mediastream infobar and allow user to allow/not allow acces to devi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed sky's comment and replaced "Do not allow any site to" with "Do not allow sites to" Created 8 years, 5 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') | chrome/tools/chromeactions.txt » ('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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 ('kManagedDefaultImagesSetting', 2, [CONTENT], OS_ALL), 169 ('kManagedDefaultImagesSetting', 2, [CONTENT], OS_ALL),
170 'DefaultJavaScriptSetting': (None, 2, [CONTENT], OS_ALL), 170 'DefaultJavaScriptSetting': (None, 2, [CONTENT], OS_ALL),
171 'DefaultPluginsSetting': 171 'DefaultPluginsSetting':
172 ('kManagedDefaultPluginsSetting', 2, [CONTENT], OS_ALL), 172 ('kManagedDefaultPluginsSetting', 2, [CONTENT], OS_ALL),
173 'DefaultPopupsSetting': 173 'DefaultPopupsSetting':
174 ('kManagedDefaultPopupsSetting', 2, [CONTENT], OS_ALL), 174 ('kManagedDefaultPopupsSetting', 2, [CONTENT], OS_ALL),
175 'DefaultNotificationsSetting': 175 'DefaultNotificationsSetting':
176 ('kManagedDefaultNotificationsSetting', 2, [CONTENT], OS_ALL), 176 ('kManagedDefaultNotificationsSetting', 2, [CONTENT], OS_ALL),
177 'DefaultGeolocationSetting': 177 'DefaultGeolocationSetting':
178 ('kManagedDefaultGeolocationSetting', 2, [CONTENT], OS_ALL), 178 ('kManagedDefaultGeolocationSetting', 2, [CONTENT], OS_ALL),
179 'DefaultMediaStreamSetting':
180 ('kManagedDefaultMediaStreamSetting', 2, [CONTENT], OS_ALL),
179 'AutoSelectCertificateForUrls': 181 'AutoSelectCertificateForUrls':
180 ('kManagedAutoSelectCertificateForUrls', 182 ('kManagedAutoSelectCertificateForUrls',
181 ['{\'pattern\':\'https://example.com\',' + 183 ['{\'pattern\':\'https://example.com\',' +
182 '\'filter\':{\'ISSUER\':{\'CN\': \'issuer-name\'}}}'], [], OS_ALL), 184 '\'filter\':{\'ISSUER\':{\'CN\': \'issuer-name\'}}}'], [], OS_ALL),
183 'CookiesAllowedForUrls': 185 'CookiesAllowedForUrls':
184 ('kManagedCookiesAllowedForUrls', ['[*.]google.com'], [], OS_ALL), 186 ('kManagedCookiesAllowedForUrls', ['[*.]google.com'], [], OS_ALL),
185 'CookiesBlockedForUrls': 187 'CookiesBlockedForUrls':
186 ('kManagedCookiesBlockedForUrls', ['[*.]google.com'], [], OS_ALL), 188 ('kManagedCookiesBlockedForUrls', ['[*.]google.com'], [], OS_ALL),
187 'CookiesSessionOnlyForUrls': 189 'CookiesSessionOnlyForUrls':
188 ('kManagedCookiesSessionOnlyForUrls', ['[*.]google.com'], [], OS_ALL), 190 ('kManagedCookiesSessionOnlyForUrls', ['[*.]google.com'], [], OS_ALL),
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 'ReportDeviceLocation': (None, False, [], ['chromeos']), 285 'ReportDeviceLocation': (None, False, [], ['chromeos']),
284 286
285 # Chrome Frame policies: 287 # Chrome Frame policies:
286 'ChromeFrameRendererSettings': (None, 0, [], []), 288 'ChromeFrameRendererSettings': (None, 0, [], []),
287 'RenderInChromeFrameList': (None, ['google.com'], [], []), 289 'RenderInChromeFrameList': (None, ['google.com'], [], []),
288 'RenderInHostList': (None, ['google.com'], [], []), 290 'RenderInHostList': (None, ['google.com'], [], []),
289 'ChromeFrameContentTypes': (None, ['text/xml'], [], []), 291 'ChromeFrameContentTypes': (None, ['text/xml'], [], []),
290 'GCFUserDataDir': (None, '${user_name}/test-frame', [], []), 292 'GCFUserDataDir': (None, '${user_name}/test-frame', [], []),
291 'AdditionalLaunchParameters': (None, '--enable-media-stream', [], []), 293 'AdditionalLaunchParameters': (None, '--enable-media-stream', [], []),
292 } 294 }
OLDNEW
« no previous file with comments | « chrome/common/pref_names.cc ('k') | chrome/tools/chromeactions.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698