Reset avatar image when the avatar policy becomes unset
[chromium-blink-merge.git] / chrome_elf / chrome_elf_constants.h
blob4ff45b29f50128fb0603f0d72dbce84df8ae906a
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_
10 // directory names
11 extern const wchar_t kAppDataDirName[];
12 extern const wchar_t kCanaryAppDataDirName[];
13 extern const wchar_t kLocalStateFilename[];
14 extern const wchar_t kPreferencesFilename[];
15 extern const wchar_t kUserDataDirName[];
17 namespace blacklist {
19 // The registry path of the blacklist beacon.
20 extern const wchar_t kRegistryBeaconPath[];
22 // The registry path of the finch blacklist dlls.
23 extern const wchar_t kRegistryFinchListPath[];
25 // The properties for the blacklist beacon.
26 extern const wchar_t kBeaconVersion[];
27 extern const wchar_t kBeaconState[];
29 // The states for the blacklist setup code.
30 enum BlacklistState {
31 BLACKLIST_DISABLED = 0,
32 BLACKLIST_ENABLED,
33 // The blacklist setup code is running. If this is still set at startup,
34 // it means the last setup crashed.
35 BLACKLIST_SETUP_RUNNING,
36 // The blacklist thunk setup code is running. If this is still set at startup,
37 // it means the last setup crashed during thunk setup.
38 BLACKLIST_THUNK_SETUP,
39 // The blacklist code is currently intercepting MapViewOfSection. If this is
40 // still set at startup, it means we crashed during interception.
41 BLACKLIST_INTERCEPTING,
42 // Always keep this at the end.
43 BLACKLIST_STATE_MAX,
46 } // namespace blacklist
48 #endif // CHROME_ELF_CHROME_ELF_CONSTANTS_H_