Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / chrome_elf / chrome_elf_constants.cc
blobffb9b9d9bd3fdce44001fd217f768aaf968c4f3e
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"
11 #else
12 #error Unknown branding
13 #endif
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";
25 namespace blacklist {
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