OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_SYNC_INTERNAL_API_INCLUDES_REPORT_UNRECOVERABLE_ERROR_FUN
CTION_H_ | 5 #ifndef SYNC_UTIL_REPORT_UNRECOVERABLE_ERROR_FUNCTION_H_ |
6 #define CHROME_BROWSER_SYNC_INTERNAL_API_INCLUDES_REPORT_UNRECOVERABLE_ERROR_FUN
CTION_H_ | 6 #define SYNC_UTIL_REPORT_UNRECOVERABLE_ERROR_FUNCTION_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 namespace browser_sync { | 9 namespace browser_sync { |
10 | 10 |
11 // A ReportUnrecoverableErrorFunction is a function that is called | 11 // A ReportUnrecoverableErrorFunction is a function that is called |
12 // immediately when an unrecoverable error is encountered. Unlike | 12 // immediately when an unrecoverable error is encountered. Unlike |
13 // UnrecoverableErrorHandler, it should just log the error and any | 13 // UnrecoverableErrorHandler, it should just log the error and any |
14 // context surrounding it. | 14 // context surrounding it. |
15 typedef void (*ReportUnrecoverableErrorFunction)(void); | 15 typedef void (*ReportUnrecoverableErrorFunction)(void); |
16 | 16 |
17 } // namespace browser_sync | 17 } // namespace browser_sync |
18 | 18 |
19 #endif // CHROME_BROWSER_SYNC_INTERNAL_API_INCLUDES_REPORT_UNRECOVERABLE_ERROR_
FUNCTION_H_ | 19 #endif // SYNC_UTIL_REPORT_UNRECOVERABLE_ERROR_FUNCTION_H_ |
OLD | NEW |