blob: ead73f0d67dff2a01581b787119347bec485f3d2 [file] [log] [blame]
// 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_