Home | History | Annotate | Download | only in util
      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 
      5 #ifndef SYNC_UTIL_REPORT_UNRECOVERABLE_ERROR_FUNCTION_H_
      6 #define SYNC_UTIL_REPORT_UNRECOVERABLE_ERROR_FUNCTION_H_
      7 
      8 namespace syncer {
      9 
     10 // A ReportUnrecoverableErrorFunction is a function that is called
     11 // immediately when an unrecoverable error is encountered.  Unlike
     12 // UnrecoverableErrorHandler, it should just log the error and any
     13 // context surrounding it.
     14 typedef void (*ReportUnrecoverableErrorFunction)(void);
     15 
     16 }  // namespace syncer
     17 
     18 #endif  // SYNC_UTIL_REPORT_UNRECOVERABLE_ERROR_FUNCTION_H_
     19