| 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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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', |
| 245 '.*@google.com', [], ['win', 'mac', 'linux']), | 245 '.*@google.com', [], ['win', 'mac', 'linux']), |
| 246 'DisableSafeBrowsingProceedAnyway': |
| 247 ('kSafeBrowsingProceedAnywayDisabled', True, [], OS_ALL), |
| 246 | 248 |
| 247 # ChromeOS-only policies: | 249 # ChromeOS-only policies: |
| 248 # TODO(frankf): Add prefs for these after crosbug.com/28756 is fixed. | 250 # TODO(frankf): Add prefs for these after crosbug.com/28756 is fixed. |
| 249 'ChromeOsLockOnIdleSuspend': | 251 'ChromeOsLockOnIdleSuspend': |
| 250 (None, True, [BROWSER], ['chromeos']), | 252 (None, True, [BROWSER], ['chromeos']), |
| 251 'PolicyRefreshRate': | 253 'PolicyRefreshRate': |
| 252 (None, 300000, [], ['chromeos']), | 254 (None, 300000, [], ['chromeos']), |
| 253 'OpenNetworkConfiguration': (None, '', [], ['chromeos']), | 255 'OpenNetworkConfiguration': (None, '', [], ['chromeos']), |
| 254 'GDataDisabled': (None, True, [], ['chromeos']), | 256 'GDataDisabled': (None, True, [], ['chromeos']), |
| 255 'GDataDisabledOverCellular': | 257 'GDataDisabledOverCellular': |
| (...skipping 29 matching lines...) Expand all Loading... |
| 285 'ReportDeviceLocation': (None, False, [], ['chromeos']), | 287 'ReportDeviceLocation': (None, False, [], ['chromeos']), |
| 286 | 288 |
| 287 # Chrome Frame policies: | 289 # Chrome Frame policies: |
| 288 'ChromeFrameRendererSettings': (None, 0, [], []), | 290 'ChromeFrameRendererSettings': (None, 0, [], []), |
| 289 'RenderInChromeFrameList': (None, ['google.com'], [], []), | 291 'RenderInChromeFrameList': (None, ['google.com'], [], []), |
| 290 'RenderInHostList': (None, ['google.com'], [], []), | 292 'RenderInHostList': (None, ['google.com'], [], []), |
| 291 'ChromeFrameContentTypes': (None, ['text/xml'], [], []), | 293 'ChromeFrameContentTypes': (None, ['text/xml'], [], []), |
| 292 'GCFUserDataDir': (None, '${user_name}/test-frame', [], []), | 294 'GCFUserDataDir': (None, '${user_name}/test-frame', [], []), |
| 293 'AdditionalLaunchParameters': (None, '--enable-media-stream', [], []), | 295 'AdditionalLaunchParameters': (None, '--enable-media-stream', [], []), |
| 294 } | 296 } |
| OLD | NEW |