| OLD | NEW |
| (Empty) |
| 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 #pragma once | |
| 8 | |
| 9 namespace browser_sync { | |
| 10 | |
| 11 // A ReportUnrecoverableErrorFunction is a function that is called | |
| 12 // immediately when an unrecoverable error is encountered. Unlike | |
| 13 // UnrecoverableErrorHandler, it should just log the error and any | |
| 14 // context surrounding it. | |
| 15 typedef void (*ReportUnrecoverableErrorFunction)(void); | |
| 16 | |
| 17 } // namespace browser_sync | |
| 18 | |
| 19 #endif // SYNC_UTIL_REPORT_UNRECOVERABLE_ERROR_FUNCTION_H_ | |
| OLD | NEW |