diff options
author | zea <zea@chromium.org> | 2015-06-09 10:44:41 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-09 17:45:21 +0000 |
commit | 56e4017ed796289d9d5fe6d7ac72b5eccd19c299 (patch) | |
tree | 51e69ebea24b88f8c61c6e68c8591c69a675318e /sync/internal_api/public/util | |
parent | dcbfdd3e1289eb4f0b38fde85e654341c19e72e5 (diff) | |
download | chromium_src-56e4017ed796289d9d5fe6d7ac72b5eccd19c299.zip chromium_src-56e4017ed796289d9d5fe6d7ac72b5eccd19c299.tar.gz chromium_src-56e4017ed796289d9d5fe6d7ac72b5eccd19c299.tar.bz2 |
[Sync] Replace ReportUnrecoverableErrorFunction with base::Closure
Fixes a bug where the raw pointer wasn't being default initialized in all
cases (SyncManager::InitArgs in particular), and ensure that kind of bug
doesn't happen again.
BUG=123223
Review URL: https://codereview.chromium.org/1167183002
Cr-Commit-Position: refs/heads/master@{#333520}
Diffstat (limited to 'sync/internal_api/public/util')
-rw-r--r-- | sync/internal_api/public/util/report_unrecoverable_error_function.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/sync/internal_api/public/util/report_unrecoverable_error_function.h b/sync/internal_api/public/util/report_unrecoverable_error_function.h deleted file mode 100644 index c0686ca..0000000 --- a/sync/internal_api/public/util/report_unrecoverable_error_function.h +++ /dev/null @@ -1,18 +0,0 @@ -// 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_ - -namespace syncer { - -// 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 syncer - -#endif // SYNC_UTIL_REPORT_UNRECOVERABLE_ERROR_FUNCTION_H_ |