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 // Full path where last recovery component CRX was unpacked to. |
| 14 const char kRecoveryComponentUnpackPath[] = "recovery_component.unpack_path"; |
| 15 |
13 #if defined(OS_WIN) | 16 #if defined(OS_WIN) |
14 // The last exit code integer value returned by the SwReporter. Saved in local | 17 // The last exit code integer value returned by the SwReporter. Saved in local |
15 // state. | 18 // state. |
16 const char kSwReporterLastExitCode[] = "software_reporter.last_exit_code"; | 19 const char kSwReporterLastExitCode[] = "software_reporter.last_exit_code"; |
17 | 20 |
18 // The last time SwReporter was triggered. Saved in local state. | 21 // The last time SwReporter was triggered. Saved in local state. |
19 const char kSwReporterLastTimeTriggered[] = | 22 const char kSwReporterLastTimeTriggered[] = |
20 "software_reporter.last_time_triggered"; | 23 "software_reporter.last_time_triggered"; |
21 | 24 |
22 // The exit code integer value of the reporter run that triggered an SRT prompt. | 25 // 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 | 26 // Stored in the protected prefs of the profile that owns the browser where the |
24 // prompt was shown. | 27 // prompt was shown. |
25 const char kSwReporterPromptReason[] = "software_reporter.prompt_reason"; | 28 const char kSwReporterPromptReason[] = "software_reporter.prompt_reason"; |
26 | 29 |
27 // The version string of the reporter that triggered an SRT prompt. An empty | 30 // 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 | 31 // 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. | 32 // profile that owns the browser where the prompt was shown. |
30 const char kSwReporterPromptVersion[] = "software_reporter.prompt_version"; | 33 const char kSwReporterPromptVersion[] = "software_reporter.prompt_version"; |
31 #endif | 34 #endif |
32 | 35 |
33 } // namespace prefs | 36 } // namespace prefs |
OLD | NEW |