OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/component_updater/pref_names.h" | 5 #include "components/component_updater/pref_names.h" |
6 | 6 |
7 namespace prefs { | 7 namespace prefs { |
8 | 8 |
9 // String that represents the recovery component last downloaded version. This | 9 // String that represents the recovery component last downloaded version. This |
10 // takes the usual 'a.b.c.d' notation. | 10 // takes the usual 'a.b.c.d' notation. |
11 const char kRecoveryComponentVersion[] = "recovery_component.version"; | 11 const char kRecoveryComponentVersion[] = "recovery_component.version"; |
12 | 12 |
13 #if defined(OS_WIN) | 13 #if defined(OS_WIN) |
14 // The number of attempts left to execute the SwReporter. This starts at the max | 14 // The number of attempts left to execute the SwReporter. This starts at the max |
15 // number of retries allowed, and goes down as attempts are made and is cleared | 15 // number of retries allowed, and goes down as attempts are made and is cleared |
16 // back to 0 when it successfully completes. | 16 // back to 0 when it successfully completes. |
17 const char kSwReporterExecuteTryCount[] = "software_reporter.execute_try_count"; | 17 const char kSwReporterExecuteTryCount[] = "software_reporter.execute_try_count"; |
| 18 |
| 19 // The last time SwReporter was triggered. |
| 20 const char kSwReporterLastTimeTriggered[] = |
| 21 "software_reporter.last_time_triggered"; |
18 #endif | 22 #endif |
19 | 23 |
20 } // namespace prefs | 24 } // namespace prefs |
OLD | NEW |