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

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

Issue 2831103002: Move shared constants to //components/chrome_cleaner (Closed)
Patch Set: 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
1 // Copyright 2017 The Chromium Authors. All rights reserved. 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 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 "components/chrome_cleaner/public/constants/constants.h" 5 #include "components/chrome_cleaner/public/constants/constants.h"
6 6
7 namespace chrome_cleaner { 7 namespace chrome_cleaner {
8 8
9 // Command line switches. 9 // Command line switches.
10 const char kChromeChannelSwitch[] = "chrome-channel"; 10 const char kChromeChannelSwitch[] = "chrome-channel";
11 const char kChromeExePathSwitch[] = "chrome-exe-path"; 11 const char kChromeExePathSwitch[] = "chrome-exe-path";
12 const char kChromeMojoPipeTokenSwitch[] = "chrome-mojo-pipe-token"; 12 const char kChromeMojoPipeTokenSwitch[] = "chrome-mojo-pipe-token";
13 const char kChromePromptSwitch[] = "chrome-prompt"; 13 const char kChromePromptSwitch[] = "chrome-prompt";
14 const char kChromeSystemInstallSwitch[] = "chrome-system-install"; 14 const char kChromeSystemInstallSwitch[] = "chrome-system-install";
15 const char kChromeVersionSwitch[] = "chrome-version"; 15 const char kChromeVersionSwitch[] = "chrome-version";
16 const char kEnableCrashReportingSwitch[] = "enable-crash-reporting"; 16 const char kEnableCrashReportingSwitch[] = "enable-crash-reporting";
17 const char kEngineExperimentGroupSwitch[] = "engine-experiment-group";
17 const char kExecutionModeSwitch[] = "execution-mode"; 18 const char kExecutionModeSwitch[] = "execution-mode";
18 const char kExtendedSafeBrowsingEnabledSwitch[] = 19 const char kExtendedSafeBrowsingEnabledSwitch[] =
19 "extended-safebrowsing-enabled"; 20 "extended-safebrowsing-enabled";
21 const char kRegistrySuffixSwitch[] = "registry-suffix";
20 const char kSessionIdSwitch[] = "session-id"; 22 const char kSessionIdSwitch[] = "session-id";
21 const char kUmaUserSwitch[] = "uma-user"; 23 const char kUmaUserSwitch[] = "uma-user";
22 24
23 // Registry paths and subkeys. 25 // Registry paths and subkeys.
24 const wchar_t kSoftwareRemovalToolRegistryKey[] = 26 const wchar_t kSoftwareRemovalToolRegistryKey[] =
25 L"Software\\Google\\Software Removal Tool"; 27 L"Software\\Google\\Software Removal Tool";
26 const wchar_t kCleanerSubKey[] = L"Cleaner"; 28 const wchar_t kCleanerSubKey[] = L"Cleaner";
27 const wchar_t kScanTimesSubKey[] = L"ScanTimes"; 29 const wchar_t kScanTimesSubKey[] = L"ScanTimes";
28 30
29 // Registry value names. 31 // Registry value names.
30 const wchar_t kEndTimeValueName[] = L"EndTime"; 32 const wchar_t kEndTimeValueName[] = L"EndTime";
31 const wchar_t kEngineErrorCodeValueName[] = L"EngineErrorCode"; 33 const wchar_t kEngineErrorCodeValueName[] = L"EngineErrorCode";
32 const wchar_t kExitCodeValueName[] = L"ExitCode"; 34 const wchar_t kExitCodeValueName[] = L"ExitCode";
33 // Note: the lowercase "s" in "Uws" can't be fixed due to compatibility with 35 // Note: the lowercase "s" in "Uws" can't be fixed due to compatibility with
34 // older versions. 36 // older versions.
35 const wchar_t kFoundUwsValueName[] = L"FoundUws"; 37 const wchar_t kFoundUwsValueName[] = L"FoundUws";
36 const wchar_t kLogsUploadResultValueName[] = L"LogsUploadResult"; 38 const wchar_t kLogsUploadResultValueName[] = L"LogsUploadResult";
37 const wchar_t kMemoryUsedValueName[] = L"MemoryUsed"; 39 const wchar_t kMemoryUsedValueName[] = L"MemoryUsed";
38 const wchar_t kStartTimeValueName[] = L"StartTime"; 40 const wchar_t kStartTimeValueName[] = L"StartTime";
39 const wchar_t kUploadResultsValueName[] = L"UploadResults"; 41 const wchar_t kUploadResultsValueName[] = L"UploadResults";
40 const wchar_t kVersionValueName[] = L"Version"; 42 const wchar_t kVersionValueName[] = L"Version";
41 43
42 } // namespace chrome_cleaner 44 } // 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