report_unrecoverable_error.h 635 B

123456789101112131415161718
  1. // Copyright (c) 2012 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_SYNC_BASE_REPORT_UNRECOVERABLE_ERROR_H_
  5. #define COMPONENTS_SYNC_BASE_REPORT_UNRECOVERABLE_ERROR_H_
  6. #include "components/version_info/version_info.h"
  7. namespace syncer {
  8. // Sends a minidump via breakpad for canary/dev channels at a hardcoded
  9. // sampling rate. Does nothing on beta/stable builds.
  10. void ReportUnrecoverableError(version_info::Channel channel);
  11. } // namespace syncer
  12. #endif // COMPONENTS_SYNC_BASE_REPORT_UNRECOVERABLE_ERROR_H_