| 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 | 72 |
| 73 // TODO(b/647763) Change the registry key to properly handle cases when the | 73 // TODO(b/647763) Change the registry key to properly handle cases when the |
| 74 // user runs Google Chrome stable alongside Google Chrome SxS. | 74 // user runs Google Chrome stable alongside Google Chrome SxS. |
| 75 extern const wchar_t kSoftwareRemovalToolRegistryKey[]; | 75 extern const wchar_t kSoftwareRemovalToolRegistryKey[]; |
| 76 | 76 |
| 77 // The suffix for the registry key where cleaner metrics are written to. | 77 // The suffix for the registry key where cleaner metrics are written to. |
| 78 extern const wchar_t kCleanerSubKey[]; | 78 extern const wchar_t kCleanerSubKey[]; |
| 79 // The suffix for registry key paths where scan times will be written to. | 79 // The suffix for registry key paths where scan times will be written to. |
| 80 extern const wchar_t kScanTimesSubKey[]; | 80 extern const wchar_t kScanTimesSubKey[]; |
| 81 | 81 |
| 82 // Registry value names where the timestamps for cleanup start and completion |
| 83 // are written to. |
| 84 extern const wchar_t kCleanupConfirmedTimestampValueName[]; |
| 85 // Note to reviewer: I'm thinking of removing the need for the start ts and |
| 86 // rely only on the confirmation ts, that would be erased once a cleanup |
| 87 // starts and written to when it completes (either with or without a reboot). |
| 88 // Please help me find the flaw in the reasoning. Thanks. |
| 89 extern const wchar_t kCleanupStartedTimestampValueName[]; |
| 90 |
| 82 // Registry value names where metrics are written to. | 91 // Registry value names where metrics are written to. |
| 83 extern const wchar_t kEndTimeValueName[]; | 92 extern const wchar_t kEndTimeValueName[]; |
| 84 extern const wchar_t kEngineErrorCodeValueName[]; | 93 extern const wchar_t kEngineErrorCodeValueName[]; |
| 85 extern const wchar_t kExitCodeValueName[]; | 94 extern const wchar_t kExitCodeValueName[]; |
| 86 extern const wchar_t kFoundUwsValueName[]; | 95 extern const wchar_t kFoundUwsValueName[]; |
| 87 extern const wchar_t kLogsUploadResultValueName[]; | 96 extern const wchar_t kLogsUploadResultValueName[]; |
| 88 extern const wchar_t kMemoryUsedValueName[]; | 97 extern const wchar_t kMemoryUsedValueName[]; |
| 89 extern const wchar_t kStartTimeValueName[]; | 98 extern const wchar_t kStartTimeValueName[]; |
| 90 extern const wchar_t kUploadResultsValueName[]; | 99 extern const wchar_t kUploadResultsValueName[]; |
| 91 extern const wchar_t kVersionValueName[]; | 100 extern const wchar_t kVersionValueName[]; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 // Safe Browsing Reporting v2. | 133 // Safe Browsing Reporting v2. |
| 125 kPostRebootValidation = 3, | 134 kPostRebootValidation = 3, |
| 126 | 135 |
| 127 // Auxiliary enumerator for range checking. | 136 // Auxiliary enumerator for range checking. |
| 128 kNumValues, | 137 kNumValues, |
| 129 }; | 138 }; |
| 130 | 139 |
| 131 } // namespace chrome_cleaner | 140 } // namespace chrome_cleaner |
| 132 | 141 |
| 133 #endif // COMPONENTS_CHROME_CLEANER_PUBLIC_CONSTANTS_CONSTANTS_H_ | 142 #endif // COMPONENTS_CHROME_CLEANER_PUBLIC_CONSTANTS_CONSTANTS_H_ |
| OLD | NEW |