Index: components/component_updater/pref_names.cc |
diff --git a/components/component_updater/pref_names.cc b/components/component_updater/pref_names.cc |
index 285cf4e3ae783812e047a09c3daa7b2bf62e8f29..7da1186a9195e753138c5eba23bddacdc0b2ef02 100644 |
--- a/components/component_updater/pref_names.cc |
+++ b/components/component_updater/pref_names.cc |
@@ -11,9 +11,23 @@ namespace prefs { |
const char kRecoveryComponentVersion[] = "recovery_component.version"; |
#if defined(OS_WIN) |
-// The last time SwReporter was triggered. |
+// The last exit code integer value returned by the SwReporter. Saved in local |
+// state. |
+const char kSwReporterLastExitCode[] = "software_reporter.last_exit_code"; |
+ |
+// The last time SwReporter was triggered. Saved in local state. |
const char kSwReporterLastTimeTriggered[] = |
"software_reporter.last_time_triggered"; |
+ |
+// The exit code integer value of the reporter run that triggered an SRT prompt. |
+// Stored in the protected prefs of the profile that owns the browser where the |
+// prompt was shown. |
+const char kSwReporterPromptReason[] = "software_reporter.prompt_reason"; |
+ |
+// The version string of the reporter that triggered an SRT prompt. An empty |
+// string when the prompt wasn't shown yet. Stored in the protected prefs of the |
+// profile that owns the browser where the prompt was shown. |
+const char kSwReporterPromptVersion[] = "software_reporter.prompt_version"; |
#endif |
} // namespace prefs |