| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // A handful of resource-like constants related to the ChromeELF. | 5 // A handful of resource-like constants related to the ChromeELF. |
| 6 | 6 |
| 7 #ifndef CHROME_ELF_CHROME_ELF_CONSTANTS_H_ | 7 #ifndef CHROME_ELF_CHROME_ELF_CONSTANTS_H_ |
| 8 #define CHROME_ELF_CHROME_ELF_CONSTANTS_H_ | 8 #define CHROME_ELF_CHROME_ELF_CONSTANTS_H_ |
| 9 | 9 |
| 10 #include <windows.h> | 10 #include <windows.h> |
| 11 | 11 |
| 12 namespace blacklist { | 12 namespace blacklist { |
| 13 | 13 |
| 14 // The registry path of the blacklist beacon. | 14 // The registry path of the blacklist beacon. |
| 15 extern const wchar_t kRegistryBeaconPath[]; | 15 extern const wchar_t kRegistryBeaconPath[]; |
| 16 | 16 |
| 17 // The registry path of the finch blacklist dlls. | |
| 18 extern const wchar_t kRegistryFinchListPath[]; | |
| 19 | |
| 20 // The registry value name for the REG_MULTI_SZ list of blacklist dlls. | |
| 21 // Note the char version is handy for use as the param name when | |
| 22 // appending dll names to the base::FieldTrial. Can be removed | |
| 23 // if no longer used. | |
| 24 extern const char kRegistryFinchListValueNameStr[]; | |
| 25 extern const wchar_t kRegistryFinchListValueName[]; | |
| 26 | |
| 27 // The properties for the blacklist beacon. | 17 // The properties for the blacklist beacon. |
| 28 extern const wchar_t kBeaconVersion[]; | 18 extern const wchar_t kBeaconVersion[]; |
| 29 extern const wchar_t kBeaconState[]; | 19 extern const wchar_t kBeaconState[]; |
| 30 extern const wchar_t kBeaconAttemptCount[]; | 20 extern const wchar_t kBeaconAttemptCount[]; |
| 31 | 21 |
| 32 // The number of failures that can occur on startup with the beacon enabled | 22 // The number of failures that can occur on startup with the beacon enabled |
| 33 // before we give up and turn off the blacklist. | 23 // before we give up and turn off the blacklist. |
| 34 extern const DWORD kBeaconMaxAttempts; | 24 extern const DWORD kBeaconMaxAttempts; |
| 35 | 25 |
| 36 // The states for the blacklist setup code. | 26 // The states for the blacklist setup code. |
| (...skipping 15 matching lines...) Expand all Loading... |
| 52 | 42 |
| 53 // The registry path of the finch "emergency-off" | 43 // The registry path of the finch "emergency-off" |
| 54 // switch for sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 44 // switch for sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 55 extern const wchar_t kRegSecurityFinchPath[]; | 45 extern const wchar_t kRegSecurityFinchPath[]; |
| 56 | 46 |
| 57 // The registry path for any early-browser security settings. | 47 // The registry path for any early-browser security settings. |
| 58 extern const wchar_t kRegSecurityPath[]; | 48 extern const wchar_t kRegSecurityPath[]; |
| 59 } | 49 } |
| 60 | 50 |
| 61 #endif // CHROME_ELF_CHROME_ELF_CONSTANTS_H_ | 51 #endif // CHROME_ELF_CHROME_ELF_CONSTANTS_H_ |
| OLD | NEW |