| 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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 'BackgroundModeEnabled': | 242 'BackgroundModeEnabled': |
| 243 ('kBackgroundModeEnabled', True, [BROWSER], ['win', 'linux']), | 243 ('kBackgroundModeEnabled', True, [BROWSER], ['win', 'linux']), |
| 244 'RestrictSigninToPattern': ('kGoogleServicesUsernamePattern', | 244 'RestrictSigninToPattern': ('kGoogleServicesUsernamePattern', |
| 245 '.*@google.com', [], ['win', 'mac', 'linux']), | 245 '.*@google.com', [], ['win', 'mac', 'linux']), |
| 246 'DisableSafeBrowsingProceedAnyway': | 246 'DisableSafeBrowsingProceedAnyway': |
| 247 ('kSafeBrowsingProceedAnywayDisabled', True, [], OS_ALL), | 247 ('kSafeBrowsingProceedAnywayDisabled', True, [], OS_ALL), |
| 248 # TODO(joaodasilva): this policy affects the BROWSER settings page but | 248 # TODO(joaodasilva): this policy affects the BROWSER settings page but |
| 249 # is only included in official builds. | 249 # is only included in official builds. |
| 250 'SpellCheckServiceEnabled': | 250 'SpellCheckServiceEnabled': |
| 251 ('kSpellCheckUseSpellingService', False, [], OS_ALL), | 251 ('kSpellCheckUseSpellingService', False, [], OS_ALL), |
| 252 'DisableScreenshots': ('kDisableScreenshots', False, [], OS_ALL), |
| 252 | 253 |
| 253 # ChromeOS-only policies: | 254 # ChromeOS-only policies: |
| 254 # TODO(frankf): Add prefs for these after crosbug.com/28756 is fixed. | 255 # TODO(frankf): Add prefs for these after crosbug.com/28756 is fixed. |
| 255 'ChromeOsLockOnIdleSuspend': | 256 'ChromeOsLockOnIdleSuspend': |
| 256 (None, True, [BROWSER], ['chromeos']), | 257 (None, True, [BROWSER], ['chromeos']), |
| 257 'PolicyRefreshRate': | 258 'PolicyRefreshRate': |
| 258 (None, 300000, [], ['chromeos']), | 259 (None, 300000, [], ['chromeos']), |
| 259 'OpenNetworkConfiguration': (None, '', [], ['chromeos']), | 260 'OpenNetworkConfiguration': (None, '', [], ['chromeos']), |
| 260 'GDataDisabled': (None, True, [], ['chromeos']), | 261 'GDataDisabled': (None, True, [], ['chromeos']), |
| 261 'GDataDisabledOverCellular': | 262 'GDataDisabledOverCellular': |
| (...skipping 30 matching lines...) Expand all Loading... |
| 292 'ReportDeviceLocation': (None, False, [], ['chromeos']), | 293 'ReportDeviceLocation': (None, False, [], ['chromeos']), |
| 293 | 294 |
| 294 # Chrome Frame policies: | 295 # Chrome Frame policies: |
| 295 'ChromeFrameRendererSettings': (None, 0, [], []), | 296 'ChromeFrameRendererSettings': (None, 0, [], []), |
| 296 'RenderInChromeFrameList': (None, ['google.com'], [], []), | 297 'RenderInChromeFrameList': (None, ['google.com'], [], []), |
| 297 'RenderInHostList': (None, ['google.com'], [], []), | 298 'RenderInHostList': (None, ['google.com'], [], []), |
| 298 'ChromeFrameContentTypes': (None, ['text/xml'], [], []), | 299 'ChromeFrameContentTypes': (None, ['text/xml'], [], []), |
| 299 'GCFUserDataDir': (None, '${user_name}/test-frame', [], []), | 300 'GCFUserDataDir': (None, '${user_name}/test-frame', [], []), |
| 300 'AdditionalLaunchParameters': (None, '--enable-media-stream', [], []), | 301 'AdditionalLaunchParameters': (None, '--enable-media-stream', [], []), |
| 301 } | 302 } |
| OLD | NEW |