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

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

Issue 10825197: Deprecated HideWebStorePromo policy and updated the pyauto test case for it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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/app/policy/policy_templates.json ('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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 ('kImportBookmarks', False, [], ['win', 'mac', 'linux']), 224 ('kImportBookmarks', False, [], ['win', 'mac', 'linux']),
225 'ImportHistory': 225 'ImportHistory':
226 ('kImportHistory', False, [], ['win', 'mac', 'linux']), 226 ('kImportHistory', False, [], ['win', 'mac', 'linux']),
227 'ImportHomepage': 227 'ImportHomepage':
228 ('kImportHomepage', False, [], ['win', 'mac', 'linux']), 228 ('kImportHomepage', False, [], ['win', 'mac', 'linux']),
229 'ImportSearchEngine': 229 'ImportSearchEngine':
230 ('kImportSearchEngine', False, [], ['win', 'mac', 'linux']), 230 ('kImportSearchEngine', False, [], ['win', 'mac', 'linux']),
231 'ImportSavedPasswords': 231 'ImportSavedPasswords':
232 ('kImportSavedPasswords', False, [], ['win', 'mac', 'linux']), 232 ('kImportSavedPasswords', False, [], ['win', 'mac', 'linux']),
233 'MaxConnectionsPerProxy': ('kMaxConnectionsPerProxy', 32, [], OS_ALL), 233 'MaxConnectionsPerProxy': ('kMaxConnectionsPerProxy', 32, [], OS_ALL),
234 'HideWebStorePromo': ('kNtpHideWebStorePromo', True, [], OS_ALL), 234 'HideWebStorePromo': (None, True, [], OS_ALL),
235 'URLBlacklist': ('kUrlBlacklist', ['google.com'], [], OS_ALL), 235 'URLBlacklist': ('kUrlBlacklist', ['google.com'], [], OS_ALL),
236 'URLWhitelist': ('kUrlWhitelist', ['google.com'], [], OS_ALL), 236 'URLWhitelist': ('kUrlWhitelist', ['google.com'], [], OS_ALL),
237 'EnterpriseWebStoreURL': ('kEnterpriseWebStoreURL', '', [], OS_ALL), 237 'EnterpriseWebStoreURL': ('kEnterpriseWebStoreURL', '', [], OS_ALL),
238 'EnterpriseWebStoreName': ('kEnterpriseWebStoreName', '', [], OS_ALL), 238 'EnterpriseWebStoreName': ('kEnterpriseWebStoreName', '', [], OS_ALL),
239 'EnableMemoryInfo': ('kEnableMemoryInfo', True, [], OS_ALL), 239 'EnableMemoryInfo': ('kEnableMemoryInfo', True, [], OS_ALL),
240 'DisablePrintPreview': 240 'DisablePrintPreview':
241 ('kPrintPreviewDisabled', True, [], ['win', 'mac', 'linux']), 241 ('kPrintPreviewDisabled', True, [], ['win', 'mac', 'linux']),
242 'BackgroundModeEnabled': 242 'BackgroundModeEnabled':
243 ('kBackgroundModeEnabled', True, [BROWSER], ['win', 'linux']), 243 ('kBackgroundModeEnabled', True, [BROWSER], ['win', 'linux']),
244 'RestrictSigninToPattern': ('kGoogleServicesUsernamePattern', 244 'RestrictSigninToPattern': ('kGoogleServicesUsernamePattern',
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 'ReportDeviceLocation': (None, False, [], ['chromeos']), 293 'ReportDeviceLocation': (None, False, [], ['chromeos']),
294 294
295 # Chrome Frame policies: 295 # Chrome Frame policies:
296 'ChromeFrameRendererSettings': (None, 0, [], []), 296 'ChromeFrameRendererSettings': (None, 0, [], []),
297 'RenderInChromeFrameList': (None, ['google.com'], [], []), 297 'RenderInChromeFrameList': (None, ['google.com'], [], []),
298 'RenderInHostList': (None, ['google.com'], [], []), 298 'RenderInHostList': (None, ['google.com'], [], []),
299 'ChromeFrameContentTypes': (None, ['text/xml'], [], []), 299 'ChromeFrameContentTypes': (None, ['text/xml'], [], []),
300 'GCFUserDataDir': (None, '${user_name}/test-frame', [], []), 300 'GCFUserDataDir': (None, '${user_name}/test-frame', [], []),
301 'AdditionalLaunchParameters': (None, '--enable-media-stream', [], []), 301 'AdditionalLaunchParameters': (None, '--enable-media-stream', [], []),
302 } 302 }
OLDNEW
« no previous file with comments | « chrome/app/policy/policy_templates.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698