| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 | 63 |
| 64 // TODO(b/647763) Change the registry key to properly handle cases when the | 64 // TODO(b/647763) Change the registry key to properly handle cases when the |
| 65 // user runs Google Chrome stable alongside Google Chrome SxS. | 65 // user runs Google Chrome stable alongside Google Chrome SxS. |
| 66 extern const wchar_t kSoftwareRemovalToolRegistryKey[]; | 66 extern const wchar_t kSoftwareRemovalToolRegistryKey[]; |
| 67 | 67 |
| 68 // The suffix for the registry key where cleaner metrics are written to. | 68 // The suffix for the registry key where cleaner metrics are written to. |
| 69 extern const wchar_t kCleanerSubKey[]; | 69 extern const wchar_t kCleanerSubKey[]; |
| 70 // The suffix for registry key paths where scan times will be written to. | 70 // The suffix for registry key paths where scan times will be written to. |
| 71 extern const wchar_t kScanTimesSubKey[]; | 71 extern const wchar_t kScanTimesSubKey[]; |
| 72 | 72 |
| 73 // Registry value names where the timestamps for cleanup start and completion |
| 74 // are written to. |
| 75 extern const wchar_t kCleanupConfirmedTimestampValueName[]; |
| 76 // Note to reviewer: I'm thinking of removing the need for the start ts and |
| 77 // rely only on the confirmation ts, that would be erased once a cleanup |
| 78 // starts and written to when it completes (either with or without a reboot). |
| 79 // Please help me find the flaw in the reasoning. Thanks. |
| 80 extern const wchar_t kCleanupStartedTimestampValueName[]; |
| 81 |
| 73 // Registry value names where metrics are written to. | 82 // Registry value names where metrics are written to. |
| 74 extern const wchar_t kEndTimeValueName[]; | 83 extern const wchar_t kEndTimeValueName[]; |
| 75 extern const wchar_t kEngineErrorCodeValueName[]; | 84 extern const wchar_t kEngineErrorCodeValueName[]; |
| 76 extern const wchar_t kExitCodeValueName[]; | 85 extern const wchar_t kExitCodeValueName[]; |
| 77 extern const wchar_t kFoundUwsValueName[]; | 86 extern const wchar_t kFoundUwsValueName[]; |
| 78 extern const wchar_t kLogsUploadResultValueName[]; | 87 extern const wchar_t kLogsUploadResultValueName[]; |
| 79 extern const wchar_t kMemoryUsedValueName[]; | 88 extern const wchar_t kMemoryUsedValueName[]; |
| 80 extern const wchar_t kStartTimeValueName[]; | 89 extern const wchar_t kStartTimeValueName[]; |
| 81 extern const wchar_t kUploadResultsValueName[]; | 90 extern const wchar_t kUploadResultsValueName[]; |
| 82 extern const wchar_t kVersionValueName[]; | 91 extern const wchar_t kVersionValueName[]; |
| (...skipping 32 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 |