OLD | NEW |
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 const wchar_t kAppDataDirName[] = L"Google\\Chrome"; | 8 const wchar_t kAppDataDirName[] = L"Google\\Chrome"; |
9 #else | 9 #else |
10 const wchar_t kAppDataDirName[] = L"Chromium"; | 10 const wchar_t kAppDataDirName[] = L"Chromium"; |
11 #endif | 11 #endif |
12 const wchar_t kCanaryAppDataDirName[] = L"Google\\Chrome SxS"; | 12 const wchar_t kCanaryAppDataDirName[] = L"Google\\Chrome SxS"; |
13 const wchar_t kLocalStateFilename[] = L"Local State"; | 13 const wchar_t kLocalStateFilename[] = L"Local State"; |
14 const wchar_t kPreferencesFilename[] = L"Preferences"; | 14 const wchar_t kPreferencesFilename[] = L"Preferences"; |
15 const wchar_t kUserDataDirName[] = L"User Data"; | 15 const wchar_t kUserDataDirName[] = L"User Data"; |
16 | 16 |
17 namespace blacklist { | 17 namespace blacklist { |
18 | 18 |
19 const wchar_t kRegistryBeaconPath[] = L"SOFTWARE\\Google\\Chrome\\BLBeacon"; | 19 const wchar_t kRegistryBeaconPath[] = L"SOFTWARE\\Google\\Chrome\\BLBeacon"; |
20 const wchar_t kRegistryFinchListPath[] = | 20 const wchar_t kRegistryFinchListPath[] = |
21 L"SOFTWARE\\Google\\Chrome\\BLFinchList"; | 21 L"SOFTWARE\\Google\\Chrome\\BLFinchList"; |
22 const wchar_t kBeaconVersion[] = L"version"; | 22 const wchar_t kBeaconVersion[] = L"version"; |
23 const wchar_t kBeaconState[] = L"state"; | 23 const wchar_t kBeaconState[] = L"state"; |
| 24 const wchar_t kBeaconAttemptCount[] = L"failed_count"; |
| 25 |
| 26 const DWORD kBeaconMaxAttempts = 2; |
24 | 27 |
25 } // namespace blacklist | 28 } // namespace blacklist |
OLD | NEW |