| OLD | NEW |
| 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 15 matching lines...) Expand all Loading... |
| 26 // Indicates that a cleaner run was started by Chrome. | 26 // Indicates that a cleaner run was started by Chrome. |
| 27 extern const char kChromePromptSwitch[]; | 27 extern const char kChromePromptSwitch[]; |
| 28 | 28 |
| 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 whether logs upload is enabled in the cleaner process. Should be |
| 37 // set by Chrome only be set if user has opted into Safe Browsing Extended |
| 38 // Reporting v2. Takes effect only if execution mode is not |
| 39 // ExecutionMode::kNone. |
| 40 extern const char kEnableCleanerLoggingSwitch[]; |
| 41 |
| 36 // Indicates that crash reporting is enabled for the current user. | 42 // Indicates that crash reporting is enabled for the current user. |
| 37 extern const char kEnableCrashReportingSwitch[]; | 43 extern const char kEnableCrashReportingSwitch[]; |
| 38 | 44 |
| 39 // Specifies the name of experiment group in the alternate engine field trial | 45 // Specifies the name of experiment group in the alternate engine field trial |
| 40 // for a Software Reporter run. | 46 // for a Software Reporter run. |
| 41 extern const char kEngineExperimentGroupSwitch[]; | 47 extern const char kEngineExperimentGroupSwitch[]; |
| 42 | 48 |
| 49 // Specify the engine to use. |
| 50 extern const char kEngineSwitch[]; |
| 51 |
| 43 // Indicates the execution mode for the Chrome Cleanup Tool. Possible values | 52 // Indicates the execution mode for the Chrome Cleanup Tool. Possible values |
| 44 // defined in enum ExecutionMode. | 53 // defined in enum ExecutionMode. |
| 45 extern const char kExecutionModeSwitch[]; | 54 extern const char kExecutionModeSwitch[]; |
| 46 | 55 |
| 47 // Indicates that the current user opted into Safe Browsing Extended Reporting. | 56 // Indicates that the current user opted into Safe Browsing Extended Reporting. |
| 48 extern const char kExtendedSafeBrowsingEnabledSwitch[]; | 57 extern const char kExtendedSafeBrowsingEnabledSwitch[]; |
| 49 | 58 |
| 50 // Specifies the suffix to the registry path where metrics data will be saved. | 59 // Specifies the suffix to the registry path where metrics data will be saved. |
| 51 extern const char kRegistrySuffixSwitch[]; | 60 extern const char kRegistrySuffixSwitch[]; |
| 52 | 61 |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 // Safe Browsing Reporting v2. | 124 // Safe Browsing Reporting v2. |
| 116 kPostRebootValidation = 3, | 125 kPostRebootValidation = 3, |
| 117 | 126 |
| 118 // Auxiliary enumerator for range checking. | 127 // Auxiliary enumerator for range checking. |
| 119 kNumValues, | 128 kNumValues, |
| 120 }; | 129 }; |
| 121 | 130 |
| 122 } // namespace chrome_cleaner | 131 } // namespace chrome_cleaner |
| 123 | 132 |
| 124 #endif // COMPONENTS_CHROME_CLEANER_PUBLIC_CONSTANTS_CONSTANTS_H_ | 133 #endif // COMPONENTS_CHROME_CLEANER_PUBLIC_CONSTANTS_CONSTANTS_H_ |
| OLD | NEW |