12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- // Copyright 2014 The Chromium Authors. All rights reserved.
- // Use of this source code is governed by a BSD-style license that can be
- // found in the LICENSE file.
- #include "build/build_config.h"
- #include "components/component_updater/pref_names.h"
- namespace prefs {
- // Policy that indicates the state of updates for the binary components.
- const char kComponentUpdatesEnabled[] =
- "component_updates.component_updates_enabled";
- // String that represents the recovery component last downloaded version. This
- // takes the usual 'a.b.c.d' notation.
- const char kRecoveryComponentVersion[] = "recovery_component.version";
- // Full path where last recovery component CRX was unpacked to.
- const char kRecoveryComponentUnpackPath[] = "recovery_component.unpack_path";
- #if BUILDFLAG(IS_WIN)
- // 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 last time SwReporter ran in send report mode. Saved in local state.
- const char kSwReporterLastTimeSentReport[] =
- "software_reporter.last_time_sent_report";
- // Enable running the SwReporter.
- const char kSwReporterEnabled[] = "software_reporter.enabled";
- // Which cohort of the SwReporter should be downloaded, unless overridden by the
- // safe_browsing::kReporterDistributionTagParam feature parameter.
- const char kSwReporterCohort[] = "software_reporter.cohort";
- // The time when kSwReporterCohort was last changed. Used to periodically
- // re-randomize which cohort users fall into.
- const char kSwReporterCohortSelectionTime[] =
- "software_reporter.cohort_selection_time";
- // Control whether SwReporter and Chrome Cleanup results are reported to Google.
- const char kSwReporterReportingEnabled[] = "software_reporter.reporting";
- // 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";
- // A string value uniquely identifying an SRTPrompt campaign so that users that
- // have been prompted with this seed before won't be prompted again until a new
- // seed comes in.
- const char kSwReporterPromptSeed[] = "software_reporter.prompt_seed";
- #endif
- } // namespace prefs
|