Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Side by Side Diff: sync/internal_api/public/util/report_unrecoverable_error_function.h

Issue 10700154: Remove #pragma once from sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sync/internal_api/public/util/immutable.h ('k') | sync/internal_api/public/util/syncer_error.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 SYNC_UTIL_REPORT_UNRECOVERABLE_ERROR_FUNCTION_H_ 5 #ifndef SYNC_UTIL_REPORT_UNRECOVERABLE_ERROR_FUNCTION_H_
6 #define SYNC_UTIL_REPORT_UNRECOVERABLE_ERROR_FUNCTION_H_ 6 #define SYNC_UTIL_REPORT_UNRECOVERABLE_ERROR_FUNCTION_H_
7 #pragma once
8 7
9 namespace syncer { 8 namespace syncer {
10 9
11 // A ReportUnrecoverableErrorFunction is a function that is called 10 // A ReportUnrecoverableErrorFunction is a function that is called
12 // immediately when an unrecoverable error is encountered. Unlike 11 // immediately when an unrecoverable error is encountered. Unlike
13 // UnrecoverableErrorHandler, it should just log the error and any 12 // UnrecoverableErrorHandler, it should just log the error and any
14 // context surrounding it. 13 // context surrounding it.
15 typedef void (*ReportUnrecoverableErrorFunction)(void); 14 typedef void (*ReportUnrecoverableErrorFunction)(void);
16 15
17 } // namespace syncer 16 } // namespace syncer
18 17
19 #endif // SYNC_UTIL_REPORT_UNRECOVERABLE_ERROR_FUNCTION_H_ 18 #endif // SYNC_UTIL_REPORT_UNRECOVERABLE_ERROR_FUNCTION_H_
OLDNEW
« no previous file with comments | « sync/internal_api/public/util/immutable.h ('k') | sync/internal_api/public/util/syncer_error.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698