| 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 last time SwReporter was triggered. | 14 // The last exit code integer value returned by the SwReporter. Saved in local |
| 15 // state. |
| 16 const char kSwReporterLastExitCode[] = "software_reporter.last_exit_code"; |
| 17 |
| 18 // The last time SwReporter was triggered. Saved in local state. |
| 15 const char kSwReporterLastTimeTriggered[] = | 19 const char kSwReporterLastTimeTriggered[] = |
| 16 "software_reporter.last_time_triggered"; | 20 "software_reporter.last_time_triggered"; |
| 21 |
| 22 // The exit code integer value of the reporter run that triggered an SRT prompt. |
| 23 // Stored in the protected prefs of the profile that owns the browser where the |
| 24 // prompt was shown. |
| 25 const char kSwReporterPromptReason[] = "software_reporter.prompt_reason"; |
| 26 |
| 27 // The version string of the reporter that triggered an SRT prompt. An empty |
| 28 // string when the prompt wasn't shown yet. Stored in the protected prefs of the |
| 29 // profile that owns the browser where the prompt was shown. |
| 30 const char kSwReporterPromptVersion[] = "software_reporter.prompt_version"; |
| 17 #endif | 31 #endif |
| 18 | 32 |
| 19 } // namespace prefs | 33 } // namespace prefs |
| OLD | NEW |