breadcrumbs_status.h 631 B

1234567891011121314151617
  1. // Copyright 2022 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_BREADCRUMBS_CORE_BREADCRUMBS_STATUS_H_
  5. #define COMPONENTS_BREADCRUMBS_CORE_BREADCRUMBS_STATUS_H_
  6. namespace breadcrumbs {
  7. // Returns true if breadcrumbs logging is enabled. Note that metrics consent
  8. // must have been provided for crash reports (including attached breadcrumbs) to
  9. // be uploaded, and for breadcrumbs to persist on disk.
  10. bool IsEnabled();
  11. } // namespace breadcrumbs
  12. #endif // COMPONENTS_BREADCRUMBS_CORE_BREADCRUMBS_STATUS_H_