OLD | NEW |
1 // Copyright (c) 2011 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 #include "chrome/browser/sync/util/unrecoverable_error_info.h" | 5 #include "sync/util/unrecoverable_error_info.h" |
6 | 6 |
7 namespace browser_sync { | 7 namespace browser_sync { |
8 | 8 |
9 UnrecoverableErrorInfo::UnrecoverableErrorInfo() | 9 UnrecoverableErrorInfo::UnrecoverableErrorInfo() |
10 : is_set_(false) { | 10 : is_set_(false) { |
11 } | 11 } |
12 | 12 |
13 UnrecoverableErrorInfo::UnrecoverableErrorInfo( | 13 UnrecoverableErrorInfo::UnrecoverableErrorInfo( |
14 const tracked_objects::Location& location, | 14 const tracked_objects::Location& location, |
15 const std::string& message) | 15 const std::string& message) |
(...skipping 19 matching lines...) Expand all Loading... |
35 | 35 |
36 const tracked_objects::Location& UnrecoverableErrorInfo::location() const { | 36 const tracked_objects::Location& UnrecoverableErrorInfo::location() const { |
37 return location_; | 37 return location_; |
38 } | 38 } |
39 | 39 |
40 const std::string& UnrecoverableErrorInfo::message() const { | 40 const std::string& UnrecoverableErrorInfo::message() const { |
41 return message_; | 41 return message_; |
42 } | 42 } |
43 | 43 |
44 } // namespace browser_sync | 44 } // namespace browser_sync |
OLD | NEW |