constants.h 847 B

1234567891011121314151617181920212223
  1. // Copyright 2021 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_SEGMENTATION_PLATFORM_INTERNAL_CONSTANTS_H_
  5. #define COMPONENTS_SEGMENTATION_PLATFORM_INTERNAL_CONSTANTS_H_
  6. namespace segmentation_platform {
  7. // The path to the pref storing the segmentation result.
  8. extern const char kSegmentationResultPref[];
  9. // The path to the pref storing when UKM are allowed recently.
  10. extern const char kSegmentationUkmMostRecentAllowedTimeKey[];
  11. // Last metrics collection time for the segmentation platform.
  12. extern const char kSegmentationLastCollectionTimePref[];
  13. extern const char kSegmentationPlatformRefreshResultsSwitch[];
  14. } // namespace segmentation_platform
  15. #endif // COMPONENTS_SEGMENTATION_PLATFORM_INTERNAL_CONSTANTS_H_