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 3 // found in the LICENSE file. 4 5 #include "build/build_config.h" 6 #include "components/component_updater/pref_names.h" 7 8 namespace prefs { 9 10 // String that represents the recovery component last downloaded version. This 11 // takes the usual 'a.b.c.d' notation. 12 const char kRecoveryComponentVersion[] = "recovery_component.version"; 13 14 // Full path where last recovery component CRX was unpacked to. 15 const char kRecoveryComponentUnpackPath[] = "recovery_component.unpack_path"; 16 17 #if defined(OS_WIN) 18 // The last exit code integer value returned by the SwReporter. Saved in local 19 // state. 20 const char kSwReporterLastExitCode[] = "software_reporter.last_exit_code"; 21 22 // The last time SwReporter was triggered. Saved in local state. 23 const char kSwReporterLastTimeTriggered[] = 24 "software_reporter.last_time_triggered"; 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 30 // Enable running the SwReporter. 31 const char kSwReporterEnabled[] = "software_reporter.enabled"; 32 33 // Control whether SwReporter and Chrome Cleanup results are reported to Google. 34 const char kSwReporterReportingEnabled[] = "software_reporter.reporting"; 35 36 // The version string of the reporter that triggered an SRT prompt. An empty 37 // string when the prompt wasn't shown yet. Stored in the protected prefs of the 38 // profile that owns the browser where the prompt was shown. 39 const char kSwReporterPromptVersion[] = "software_reporter.prompt_version"; 40 41 // A string value uniquely identifying an SRTPrompt campaign so that users that 42 // have been prompted with this seed before won't be prompted again until a new 43 // seed comes in. 44 const char kSwReporterPromptSeed[] = "software_reporter.prompt_seed"; 45 #endif 46 47 } // namespace prefs 48