OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2017 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 "components/chrome_cleaner/public/constants/constants.h" | |
6 | |
7 namespace chrome_cleaner { | |
8 | |
9 // Command line switches. | |
10 const char kChromeChannelSwitch[] = "chrome-channel"; | |
11 | |
12 const char kChromeExePathSwitch[] = "chrome-exe-path"; | |
13 | |
14 const char kChromeMojoPipeTokenSwitch[] = "chrome-mojo-pipe-token"; | |
15 | |
16 const char kChromePromptSwitch[] = "chrome-prompt"; | |
17 | |
18 const char kChromeSystemInstallSwitch[] = "chrome-system-install"; | |
19 | |
20 const char kChromeVersionSwitch[] = "chrome-version"; | |
21 | |
22 const char kEnableCrashReporting[] = "enable-crash-reporting"; | |
23 | |
24 const char kExtendedSafeBrowsingEnabledSwitch[] = | |
25 "extended-safebrowsing-enabled"; | |
26 | |
27 const char kSessionIdSwitch[] = "session-id"; | |
28 | |
29 const char kUmaUserSwitch[] = "uma-user"; | |
30 | |
31 // Registry paths. | |
32 const wchar_t kSoftwareRemovalToolRegistryKey[] = | |
33 L"Software\\Google\\Software Removal Tool"; | |
34 | |
35 const wchar_t kCleanerSuffixRegistryKey[] = L"Cleaner"; | |
36 | |
37 const wchar_t kEndTimeValueName[] = L"EndTime"; | |
38 const wchar_t kStartTimeValueName[] = L"StartTime"; | |
Joe Mason
2017/04/13 17:54:01
Nit: either put a blank line between all of these,
ftirelo
2017/04/18 15:26:49
Done.
| |
39 | |
40 const wchar_t kExitCodeValueName[] = L"ExitCode"; | |
41 const wchar_t kUploadResultsValueName[] = L"UploadResults"; | |
42 const wchar_t kVersionValueName[] = L"Version"; | |
43 | |
44 const wchar_t kScanTimesSubKey[] = L"ScanTimes"; | |
45 const wchar_t kFoundUwsValueName[] = L"FoundUws"; | |
Joe Mason
2017/04/13 17:54:01
Nit: please add a comment saying that the lower-ca
ftirelo
2017/04/18 15:26:49
Done.
| |
46 const wchar_t kMemoryUsedValueName[] = L"MemoryUsed"; | |
47 const wchar_t kLogsUploadResultValueName[] = L"LogsUploadResult"; | |
48 const wchar_t kEngineErrorCodeValueName[] = L"EngineErrorCode"; | |
49 | |
50 } // namespace chrome_cleaner | |
OLD | NEW |