guest_os_prefs.h 856 B

12345678910111213141516171819202122232425262728
  1. // Copyright 2019 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. #ifndef COMPONENTS_GUEST_OS_GUEST_OS_PREFS_H_
  5. #define COMPONENTS_GUEST_OS_GUEST_OS_PREFS_H_
  6. #include <string>
  7. class PrefRegistrySimple;
  8. namespace guest_os {
  9. namespace prefs {
  10. extern const char kEngagementTimeTotal[];
  11. extern const char kEngagementTimeForeground[];
  12. extern const char kEngagementTimeBackground[];
  13. extern const char kEngagementTimeOsVersion[];
  14. extern const char kEngagementTimeDayId[];
  15. // Registers prefs used by GuestOsEngagementMetrics.
  16. void RegisterEngagementProfilePrefs(PrefRegistrySimple* registry,
  17. const std::string& pref_prefix);
  18. } // namespace prefs
  19. } // namespace guest_os
  20. #endif // COMPONENTS_GUEST_OS_GUEST_OS_PREFS_H_