blob: 7115aaf4d14b26708978ff5c90e86da00d14af1b [file] [log] [blame]
[email protected]2106f5f2014-02-02 05:52:411// 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
[email protected]2106f5f2014-02-02 05:52:417#if defined(GOOGLE_CHROME_BUILD)
gab7bb3b722016-01-26 03:58:118// 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
10// depend on BrowserDistribution. http://crbug.com/577820
[email protected]400f8cd2014-06-24 01:52:4311#define PRODUCT_STRING_PATH L"Google\\Chrome"
12#elif defined(CHROMIUM_BUILD)
13#define PRODUCT_STRING_PATH L"Chromium"
14#else
15#error Unknown branding
16#endif
17
[email protected]e5890e12014-02-27 17:15:0518namespace blacklist {
19
[email protected]400f8cd2014-06-24 01:52:4320const wchar_t kRegistryBeaconPath[] =
21 L"SOFTWARE\\" PRODUCT_STRING_PATH L"\\BLBeacon";
[email protected]e5890e12014-02-27 17:15:0522const wchar_t kBeaconVersion[] = L"version";
23const wchar_t kBeaconState[] = L"state";
[email protected]37374fc2014-06-17 01:44:5624const wchar_t kBeaconAttemptCount[] = L"failed_count";
25
26const DWORD kBeaconMaxAttempts = 2;
[email protected]e5890e12014-02-27 17:15:0527
28} // namespace blacklist
pennymac84fd6692016-07-13 22:35:3429
30namespace elf_sec {
31
32const wchar_t kRegSecurityFinchPath[] =
33 L"SOFTWARE\\" PRODUCT_STRING_PATH L"\\BrowserSboxFinch";
pennymac84fd6692016-07-13 22:35:3434const wchar_t kRegSecurityPath[] =
35 L"SOFTWARE\\" PRODUCT_STRING_PATH L"\\BrowserSec";
36
37} // namespace elf_sec