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

Side by Side Diff: chrome_elf/chrome_elf_constants.cc

Issue 1841573002: [Chrome ELF] New NT registry API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: PRESUBMIT to allow chrome_elf directory files to use wstring. Created 4 years, 5 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/chrome_elf_constants.h ('k') | chrome_elf/chrome_elf_main.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 #include "chrome_elf/chrome_elf_constants.h" 5 #include "chrome_elf/chrome_elf_constants.h"
6 6
7 #if defined(GOOGLE_CHROME_BUILD) 7 #if defined(GOOGLE_CHROME_BUILD)
8 // Using PRODUCT_STRING_PATH will make Google Chrome and Canary configurations 8 // Using PRODUCT_STRING_PATH will make Google Chrome and Canary configurations
9 // collide. This was deemed to be the best option due to ELF's inability to 9 // collide. This was deemed to be the best option due to ELF's inability to
10 // depend on BrowserDistribution. http://crbug.com/577820 10 // depend on BrowserDistribution. http://crbug.com/577820
11 #define PRODUCT_STRING_PATH L"Google\\Chrome" 11 #define PRODUCT_STRING_PATH L"Google\\Chrome"
12 #elif defined(CHROMIUM_BUILD) 12 #elif defined(CHROMIUM_BUILD)
13 #define PRODUCT_STRING_PATH L"Chromium" 13 #define PRODUCT_STRING_PATH L"Chromium"
14 #else 14 #else
15 #error Unknown branding 15 #error Unknown branding
16 #endif 16 #endif
17 17
18 namespace blacklist { 18 namespace blacklist {
19 19
20 const wchar_t kRegistryBeaconPath[] = 20 const wchar_t kRegistryBeaconPath[] =
21 L"SOFTWARE\\" PRODUCT_STRING_PATH L"\\BLBeacon"; 21 L"SOFTWARE\\" PRODUCT_STRING_PATH L"\\BLBeacon";
22 const wchar_t kRegistryFinchListPath[] = 22 const wchar_t kRegistryFinchListPath[] =
23 L"SOFTWARE\\" PRODUCT_STRING_PATH L"\\BLFinchList"; 23 L"SOFTWARE\\" PRODUCT_STRING_PATH L"\\BLFinchList";
24 const char kRegistryFinchListValueNameStr[] = "BLDlls";
25 const wchar_t kRegistryFinchListValueName[] = L"BLDlls";
24 const wchar_t kBeaconVersion[] = L"version"; 26 const wchar_t kBeaconVersion[] = L"version";
25 const wchar_t kBeaconState[] = L"state"; 27 const wchar_t kBeaconState[] = L"state";
26 const wchar_t kBeaconAttemptCount[] = L"failed_count"; 28 const wchar_t kBeaconAttemptCount[] = L"failed_count";
27 29
28 const DWORD kBeaconMaxAttempts = 2; 30 const DWORD kBeaconMaxAttempts = 2;
29 31
30 } // namespace blacklist 32 } // namespace blacklist
33
34 namespace elf_sec {
35
36 const wchar_t kRegSecurityFinchPath[] =
37 L"SOFTWARE\\" PRODUCT_STRING_PATH L"\\BrowserSboxFinch";
38
39 const wchar_t kRegSecurityPath[] =
40 L"SOFTWARE\\" PRODUCT_STRING_PATH L"\\BrowserSec";
41
42 } // namespace elf_sec
OLDNEW
« no previous file with comments | « chrome_elf/chrome_elf_constants.h ('k') | chrome_elf/chrome_elf_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698