summaryrefslogtreecommitdiffstats
path: root/sync/internal_api/public/util/report_unrecoverable_error_function.h
blob: ead73f0d67dff2a01581b787119347bec485f3d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef SYNC_UTIL_REPORT_UNRECOVERABLE_ERROR_FUNCTION_H_
#define SYNC_UTIL_REPORT_UNRECOVERABLE_ERROR_FUNCTION_H_
#pragma once

namespace browser_sync {

// A ReportUnrecoverableErrorFunction is a function that is called
// immediately when an unrecoverable error is encountered.  Unlike
// UnrecoverableErrorHandler, it should just log the error and any
// context surrounding it.
typedef void (*ReportUnrecoverableErrorFunction)(void);

}  // namespace browser_sync

#endif  // SYNC_UTIL_REPORT_UNRECOVERABLE_ERROR_FUNCTION_H_