• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.
4 
5 #include "chrome_elf/chrome_elf_constants.h"
6 
7 #if defined(GOOGLE_CHROME_BUILD)
8 #define PRODUCT_STRING_PATH L"Google\\Chrome"
9 #elif defined(CHROMIUM_BUILD)
10 #define PRODUCT_STRING_PATH L"Chromium"
11 #else
12 #error Unknown branding
13 #endif
14 
15 #if defined(GOOGLE_CHROME_BUILD)
16 const wchar_t kAppDataDirName[] = L"Google\\Chrome";
17 #else
18 const wchar_t kAppDataDirName[] = L"Chromium";
19 #endif
20 const wchar_t kCanaryAppDataDirName[] = L"Google\\Chrome SxS";
21 const wchar_t kLocalStateFilename[] = L"Local State";
22 const wchar_t kPreferencesFilename[] = L"Preferences";
23 const wchar_t kUserDataDirName[] = L"User Data";
24 
25 namespace blacklist {
26 
27 const wchar_t kRegistryBeaconPath[] =
28     L"SOFTWARE\\" PRODUCT_STRING_PATH L"\\BLBeacon";
29 const wchar_t kRegistryFinchListPath[] =
30     L"SOFTWARE\\" PRODUCT_STRING_PATH L"\\BLFinchList";
31 const wchar_t kBeaconVersion[] = L"version";
32 const wchar_t kBeaconState[] = L"state";
33 const wchar_t kBeaconAttemptCount[] = L"failed_count";
34 
35 const DWORD kBeaconMaxAttempts = 2;
36 
37 }  // namespace blacklist
38