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 #include "chrome_elf/chrome_elf_constants.h"
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"
12 #error Unknown branding
15 #if defined(GOOGLE_CHROME_BUILD)
16 const wchar_t kAppDataDirName
[] = L
"Google\\Chrome";
18 const wchar_t kAppDataDirName
[] = L
"Chromium";
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";
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";
35 const DWORD kBeaconMaxAttempts
= 2;
37 } // namespace blacklist