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

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

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
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 #ifndef COMPONENTS_CHROME_CLEANER_PUBLIC_CONSTANTS_CONSTANTS_H_ 5 #ifndef COMPONENTS_CHROME_CLEANER_PUBLIC_CONSTANTS_CONSTANTS_H_
6 #define COMPONENTS_CHROME_CLEANER_PUBLIC_CONSTANTS_CONSTANTS_H_ 6 #define COMPONENTS_CHROME_CLEANER_PUBLIC_CONSTANTS_CONSTANTS_H_
7 7
8 // Constants shared by the Chromium and the Chrome Cleanaup tool repos. 8 // Constants shared by the Chromium and the Chrome Cleanaup tool repos.
9 9
10 namespace chrome_cleaner { 10 namespace chrome_cleaner {
(...skipping 18 matching lines...) Expand all
29 // Indicates that the current Chrome installation was a system-level 29 // Indicates that the current Chrome installation was a system-level
30 // installation. 30 // installation.
31 extern const char kChromeSystemInstallSwitch[]; 31 extern const char kChromeSystemInstallSwitch[];
32 32
33 // The Chrome version string. 33 // The Chrome version string.
34 extern const char kChromeVersionSwitch[]; 34 extern const char kChromeVersionSwitch[];
35 35
36 // Indicates that crash reporting is enabled for the current user. 36 // Indicates that crash reporting is enabled for the current user.
37 extern const char kEnableCrashReportingSwitch[]; 37 extern const char kEnableCrashReportingSwitch[];
38 38
39 // Specifies the name of experiment group in the alternate engine field trial
40 // for a Software Reporter run.
41 extern const char kEngineExperimentGroupSwitch[];
42
39 // Indicates the execution mode for the Chrome Cleanup Tool. Possible values 43 // Indicates the execution mode for the Chrome Cleanup Tool. Possible values
40 // defined in enum ExecutionMode. 44 // defined in enum ExecutionMode.
41 extern const char kExecutionModeSwitch[]; 45 extern const char kExecutionModeSwitch[];
42 46
43 // Indicates that the current user opted into Safe Browsing Extended Reporting. 47 // Indicates that the current user opted into Safe Browsing Extended Reporting.
44 extern const char kExtendedSafeBrowsingEnabledSwitch[]; 48 extern const char kExtendedSafeBrowsingEnabledSwitch[];
45 49
50 // Specifies the suffix to the registry path where metrics data will be saved.
51 extern const char kRegistrySuffixSwitch[];
52
46 // Identifier used to group all reports generated during the same run of the 53 // Identifier used to group all reports generated during the same run of the
47 // software reporter (which may include multiple invocations of the reporter 54 // software reporter (which may include multiple invocations of the reporter
48 /// binary, each generating a report). An ASCII, base-64 encoded random string. 55 /// binary, each generating a report). An ASCII, base-64 encoded random string.
49 extern const char kSessionIdSwitch[]; 56 extern const char kSessionIdSwitch[];
50 57
51 // Indicates that metrics reporting is enabled for the current user. 58 // Indicates that metrics reporting is enabled for the current user.
52 extern const char kUmaUserSwitch[]; 59 extern const char kUmaUserSwitch[];
53 60
54 // Registry paths where the reporter and the cleaner will write metrics data 61 // Registry paths where the reporter and the cleaner will write metrics data
55 // to be reported by Chrome. 62 // to be reported by Chrome.
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 kScanning = 1, 108 kScanning = 1,
102 // The cleaner will run in cleanup mode only. No UI will be shown to the 109 // The cleaner will run in cleanup mode only. No UI will be shown to the
103 // user (UI handled by Chrome) and logs will only be uploaded if the user 110 // user (UI handled by Chrome) and logs will only be uploaded if the user
104 // opted into Extended Safe Browsing Reporting v2. 111 // opted into Extended Safe Browsing Reporting v2.
105 kCleanup = 2, 112 kCleanup = 2,
106 }; 113 };
107 114
108 } // namespace chrome_cleaner 115 } // namespace chrome_cleaner
109 116
110 #endif // COMPONENTS_CHROME_CLEANER_PUBLIC_CONSTANTS_CONSTANTS_H_ 117 #endif // COMPONENTS_CHROME_CLEANER_PUBLIC_CONSTANTS_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698