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 const char kChromeExePathSwitch[] = "chrome-exe-path"; |
| 12 const char kChromeMojoPipeTokenSwitch[] = "chrome-mojo-pipe-token"; |
| 13 const char kChromePromptSwitch[] = "chrome-prompt"; |
| 14 const char kChromeSystemInstallSwitch[] = "chrome-system-install"; |
| 15 const char kChromeVersionSwitch[] = "chrome-version"; |
| 16 const char kEnableCrashReportingSwitch[] = "enable-crash-reporting"; |
| 17 const char kExtendedSafeBrowsingEnabledSwitch[] = |
| 18 "extended-safebrowsing-enabled"; |
| 19 const char kSessionIdSwitch[] = "session-id"; |
| 20 const char kUmaUserSwitch[] = "uma-user"; |
| 21 |
| 22 // Registry paths and subkeys. |
| 23 const wchar_t kSoftwareRemovalToolRegistryKey[] = |
| 24 L"Software\\Google\\Software Removal Tool"; |
| 25 const wchar_t kCleanerSubKey[] = L"Cleaner"; |
| 26 const wchar_t kScanTimesSubKey[] = L"ScanTimes"; |
| 27 |
| 28 // Registry value names. |
| 29 const wchar_t kEndTimeValueName[] = L"EndTime"; |
| 30 const wchar_t kEngineErrorCodeValueName[] = L"EngineErrorCode"; |
| 31 const wchar_t kExitCodeValueName[] = L"ExitCode"; |
| 32 // Note: the lowercase "s" in "Uws" can't be fixed due to compatibility with |
| 33 // older versions. |
| 34 const wchar_t kFoundUwsValueName[] = L"FoundUws"; |
| 35 const wchar_t kLogsUploadResultValueName[] = L"LogsUploadResult"; |
| 36 const wchar_t kMemoryUsedValueName[] = L"MemoryUsed"; |
| 37 const wchar_t kStartTimeValueName[] = L"StartTime"; |
| 38 const wchar_t kUploadResultsValueName[] = L"UploadResults"; |
| 39 const wchar_t kVersionValueName[] = L"Version"; |
| 40 |
| 41 } // namespace chrome_cleaner |
OLD | NEW |