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 #ifndef CHROME_BROWSER_SYNC_UTIL_UNRECOVERABLE_ERROR_INFO_H_ | 5 #ifndef SYNC_UTIL_UNRECOVERABLE_ERROR_INFO_H_ |
6 #define CHROME_BROWSER_SYNC_UTIL_UNRECOVERABLE_ERROR_INFO_H_ | 6 #define SYNC_UTIL_UNRECOVERABLE_ERROR_INFO_H_ |
7 // TODO(lipalani): Figure out the right location for this class so it is | 7 // TODO(lipalani): Figure out the right location for this class so it is |
8 // accessible outside of sync engine as well. | 8 // accessible outside of sync engine as well. |
9 #pragma once | 9 #pragma once |
10 | 10 |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/location.h" | 13 #include "base/location.h" |
14 | 14 |
15 namespace browser_sync { | 15 namespace browser_sync { |
16 | 16 |
(...skipping 14 matching lines...) Expand all Loading... |
31 const std::string& message() const; | 31 const std::string& message() const; |
32 | 32 |
33 private: | 33 private: |
34 tracked_objects::Location location_; | 34 tracked_objects::Location location_; |
35 std::string message_; | 35 std::string message_; |
36 bool is_set_; | 36 bool is_set_; |
37 }; | 37 }; |
38 | 38 |
39 } // namespace browser_sync | 39 } // namespace browser_sync |
40 | 40 |
41 #endif // CHROME_BROWSER_SYNC_UTIL_UNRECOVERABLE_ERROR_INFO_H_ | 41 #endif // SYNC_UTIL_UNRECOVERABLE_ERROR_INFO_H_ |
OLD | NEW |