Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Side by Side Diff: components/chrome_cleaner/public/constants/constants.cc

Issue 2812223003: Move shared constants to //components/chrome_cleaner (Closed)
Patch Set: Code review Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/chrome_cleaner/public/constants/constants.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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
OLDNEW
« no previous file with comments | « components/chrome_cleaner/public/constants/constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698