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.
5 #include "sync/internal_api/public/util/unrecoverable_error_info.h"
9 UnrecoverableErrorInfo::UnrecoverableErrorInfo()
13 UnrecoverableErrorInfo::UnrecoverableErrorInfo(
14 const tracked_objects::Location
& location
,
15 const std::string
& message
)
16 : location_(location
),
21 UnrecoverableErrorInfo::~UnrecoverableErrorInfo() {
24 void UnrecoverableErrorInfo::Reset(
25 const tracked_objects::Location
& location
,
26 const std::string
& message
) {
32 bool UnrecoverableErrorInfo::IsSet() const {
36 const tracked_objects::Location
& UnrecoverableErrorInfo::location() const {
40 const std::string
& UnrecoverableErrorInfo::message() const {