Home | History | Annotate | Download | only in component_updater
      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 "components/component_updater/pref_names.h"
      6 
      7 namespace prefs {
      8 
      9 // String that represents the recovery component last downloaded version. This
     10 // takes the usual 'a.b.c.d' notation.
     11 const char kRecoveryComponentVersion[] = "recovery_component.version";
     12 
     13 #if defined(OS_WIN)
     14 // The last exit code integer value returned by the SwReporter. Saved in local
     15 // state.
     16 const char kSwReporterLastExitCode[] = "software_reporter.last_exit_code";
     17 
     18 // The last time SwReporter was triggered. Saved in local state.
     19 const char kSwReporterLastTimeTriggered[] =
     20     "software_reporter.last_time_triggered";
     21 
     22 // 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
     24 // prompt was shown.
     25 const char kSwReporterPromptReason[] = "software_reporter.prompt_reason";
     26 
     27 // 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
     29 // profile that owns the browser where the prompt was shown.
     30 const char kSwReporterPromptVersion[] = "software_reporter.prompt_version";
     31 #endif
     32 
     33 }  // namespace prefs
     34