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 "build/build_config.h" | 5 #include "build/build_config.h" |
6 #include "components/component_updater/pref_names.h" | 6 #include "components/component_updater/pref_names.h" |
7 | 7 |
8 namespace prefs { | 8 namespace prefs { |
9 | 9 |
10 // String that represents the recovery component last downloaded version. This | 10 // String that represents the recovery component last downloaded version. This |
11 // takes the usual 'a.b.c.d' notation. | 11 // takes the usual 'a.b.c.d' notation. |
12 const char kRecoveryComponentVersion[] = "recovery_component.version"; | 12 const char kRecoveryComponentVersion[] = "recovery_component.version"; |
13 | 13 |
14 // Full path where last recovery component CRX was unpacked to. | 14 // Full path where last recovery component CRX was unpacked to. |
15 const char kRecoveryComponentUnpackPath[] = "recovery_component.unpack_path"; | 15 const char kRecoveryComponentUnpackPath[] = "recovery_component.unpack_path"; |
16 | 16 |
17 #if defined(OS_WIN) | 17 #if defined(OS_WIN) |
18 // The last exit code integer value returned by the SwReporter. Saved in local | 18 // The last exit code integer value returned by the SwReporter. Saved in local |
19 // state. | 19 // state. |
20 const char kSwReporterLastExitCode[] = "software_reporter.last_exit_code"; | 20 const char kSwReporterLastExitCode[] = "software_reporter.last_exit_code"; |
21 | 21 |
22 // The last time SwReporter was triggered. Saved in local state. | 22 // The last time SwReporter was triggered. Saved in local state. |
23 const char kSwReporterLastTimeTriggered[] = | 23 const char kSwReporterLastTimeTriggered[] = |
24 "software_reporter.last_time_triggered"; | 24 "software_reporter.last_time_triggered"; |
25 | 25 |
| 26 // The last time SwReporter ran in send report mode. Saved in local state. |
| 27 const char kSwReporterLastTimeSentReport[] = |
| 28 "software_reporter.last_time_sent_report"; |
| 29 |
26 // Identify whether there is a pending prompt to be added to the Chrome menu. | 30 // Identify whether there is a pending prompt to be added to the Chrome menu. |
27 const char kSwReporterPendingPrompt[] = "software_reporter.pending_prompt"; | 31 const char kSwReporterPendingPrompt[] = "software_reporter.pending_prompt"; |
28 | 32 |
29 // The version string of the reporter that triggered an SRT prompt. An empty | 33 // The version string of the reporter that triggered an SRT prompt. An empty |
30 // string when the prompt wasn't shown yet. Stored in the protected prefs of the | 34 // string when the prompt wasn't shown yet. Stored in the protected prefs of the |
31 // profile that owns the browser where the prompt was shown. | 35 // profile that owns the browser where the prompt was shown. |
32 const char kSwReporterPromptVersion[] = "software_reporter.prompt_version"; | 36 const char kSwReporterPromptVersion[] = "software_reporter.prompt_version"; |
33 | 37 |
34 // A string value uniquely identifying an SRTPrompt campaign so that users that | 38 // A string value uniquely identifying an SRTPrompt campaign so that users that |
35 // have been prompted with this seed before won't be prompted again until a new | 39 // have been prompted with this seed before won't be prompted again until a new |
36 // seed comes in. | 40 // seed comes in. |
37 const char kSwReporterPromptSeed[] = "software_reporter.prompt_seed"; | 41 const char kSwReporterPromptSeed[] = "software_reporter.prompt_seed"; |
38 #endif | 42 #endif |
39 | 43 |
40 } // namespace prefs | 44 } // namespace prefs |
OLD | NEW |