diff options
Diffstat (limited to 'chromium/sync/internal_api/public/util/unrecoverable_error_info.h')
-rw-r--r-- | chromium/sync/internal_api/public/util/unrecoverable_error_info.h | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/chromium/sync/internal_api/public/util/unrecoverable_error_info.h b/chromium/sync/internal_api/public/util/unrecoverable_error_info.h deleted file mode 100644 index 1fb9832572d..00000000000 --- a/chromium/sync/internal_api/public/util/unrecoverable_error_info.h +++ /dev/null @@ -1,40 +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_UNRECOVERABLE_ERROR_INFO_H_ -#define SYNC_UTIL_UNRECOVERABLE_ERROR_INFO_H_ -// TODO(lipalani): Figure out the right location for this class so it is -// accessible outside of sync engine as well. - -#include <string> - -#include "base/location.h" - -namespace syncer { - -class UnrecoverableErrorInfo { - public: - UnrecoverableErrorInfo(); - UnrecoverableErrorInfo( - const tracked_objects::Location& location, - const std::string& message); - ~UnrecoverableErrorInfo(); - - void Reset(const tracked_objects::Location& location, - const std::string& message); - - bool IsSet() const; - - const tracked_objects::Location& location() const; - const std::string& message() const; - - private: - tracked_objects::Location location_; - std::string message_; - bool is_set_; -}; - -} // namespace syncer - -#endif // SYNC_UTIL_UNRECOVERABLE_ERROR_INFO_H_ |