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

Side by Side Diff: chrome_elf/chrome_elf_constants.h

Issue 2760853002: Remove use of PRODUCT_STRING_PATH in chrome_elf. (Closed)
Patch Set: now Created 3 years, 9 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
« no previous file with comments | « chrome_elf/blacklist/test/blacklist_test.cc ('k') | chrome_elf/chrome_elf_constants.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 name of the blacklist beacon registry key.
15 extern const wchar_t kRegistryBeaconPath[]; 15 extern const wchar_t kRegistryBeaconKeyName[];
16 16
17 // The properties for the blacklist beacon. 17 // The properties for the blacklist beacon.
18 extern const wchar_t kBeaconVersion[]; 18 extern const wchar_t kBeaconVersion[];
19 extern const wchar_t kBeaconState[]; 19 extern const wchar_t kBeaconState[];
20 extern const wchar_t kBeaconAttemptCount[]; 20 extern const wchar_t kBeaconAttemptCount[];
21 21
22 // 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
23 // before we give up and turn off the blacklist. 23 // before we give up and turn off the blacklist.
24 extern const DWORD kBeaconMaxAttempts; 24 extern const DWORD kBeaconMaxAttempts;
25 25
26 // The states for the blacklist setup code. 26 // The states for the blacklist setup code.
27 enum BlacklistState { 27 enum BlacklistState {
28 BLACKLIST_DISABLED = 0, 28 BLACKLIST_DISABLED = 0,
29 BLACKLIST_ENABLED, 29 BLACKLIST_ENABLED,
30 // The blacklist setup code is running. If this is the state at startup, it 30 // The blacklist setup code is running. If this is the state at startup, it
31 // means the last setup crashed. 31 // means the last setup crashed.
32 BLACKLIST_SETUP_RUNNING, 32 BLACKLIST_SETUP_RUNNING,
33 // If the last setup crashed, we reassign the state to failed. 33 // If the last setup crashed, we reassign the state to failed.
34 BLACKLIST_SETUP_FAILED, 34 BLACKLIST_SETUP_FAILED,
35 // Always keep this at the end. 35 // Always keep this at the end.
36 BLACKLIST_STATE_MAX, 36 BLACKLIST_STATE_MAX,
37 }; 37 };
38 38
39 } // namespace blacklist 39 } // namespace blacklist
40 40
41 namespace elf_sec { 41 namespace elf_sec {
42 42
43 // The registry path of the finch "emergency-off" 43 // The name of the registry key holding the finch "emergency-off"
44 // switch for sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 44 // switch for sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
45 extern const wchar_t kRegSecurityFinchPath[]; 45 extern const wchar_t kRegSecurityFinchKeyName[];
46 46
47 // The registry path for any early-browser security settings. 47 } // namespace elf_sec
48 extern const wchar_t kRegSecurityPath[];
49 }
50 48
51 #endif // CHROME_ELF_CHROME_ELF_CONSTANTS_H_ 49 #endif // CHROME_ELF_CHROME_ELF_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome_elf/blacklist/test/blacklist_test.cc ('k') | chrome_elf/chrome_elf_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698