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
3 // found in the LICENSE file.
5 // A handful of resource-like constants related to the ChromeELF.
7 #ifndef CHROME_ELF_CHROME_ELF_CONSTANTS_H_
8 #define CHROME_ELF_CHROME_ELF_CONSTANTS_H_
13 extern const wchar_t kAppDataDirName
[];
14 extern const wchar_t kCanaryAppDataDirName
[];
15 extern const wchar_t kLocalStateFilename
[];
16 extern const wchar_t kPreferencesFilename
[];
17 extern const wchar_t kUserDataDirName
[];
21 // The registry path of the blacklist beacon.
22 extern const wchar_t kRegistryBeaconPath
[];
24 // The registry path of the finch blacklist dlls.
25 extern const wchar_t kRegistryFinchListPath
[];
27 // The properties for the blacklist beacon.
28 extern const wchar_t kBeaconVersion
[];
29 extern const wchar_t kBeaconState
[];
30 extern const wchar_t kBeaconAttemptCount
[];
32 // The number of failures that can occur on startup with the beacon enabled
33 // before we give up and turn off the blacklist.
34 extern const DWORD kBeaconMaxAttempts
;
36 // The states for the blacklist setup code.
38 BLACKLIST_DISABLED
= 0,
40 // The blacklist setup code is running. If this is the state at startup, it
41 // means the last setup crashed.
42 BLACKLIST_SETUP_RUNNING
,
43 // If the last setup crashed, we reassign the state to failed.
44 BLACKLIST_SETUP_FAILED
,
45 // Always keep this at the end.
49 } // namespace blacklist
51 #endif // CHROME_ELF_CHROME_ELF_CONSTANTS_H_