OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 COMPONENTS_SYNC_API_SYNC_ERROR_H_ | 5 #ifndef COMPONENTS_SYNC_MODEL_SYNC_ERROR_H_ |
6 #define COMPONENTS_SYNC_API_SYNC_ERROR_H_ | 6 #define COMPONENTS_SYNC_MODEL_SYNC_ERROR_H_ |
7 | 7 |
8 #include <iosfwd> | 8 #include <iosfwd> |
9 #include <memory> | 9 #include <memory> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "components/sync/base/model_type.h" | 12 #include "components/sync/base/model_type.h" |
13 | 13 |
14 namespace tracked_objects { | 14 namespace tracked_objects { |
15 class Location; | 15 class Location; |
16 } // namespace tracked_objects | 16 } // namespace tracked_objects |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 std::string message_; | 118 std::string message_; |
119 ModelType model_type_; | 119 ModelType model_type_; |
120 ErrorType error_type_; | 120 ErrorType error_type_; |
121 }; | 121 }; |
122 | 122 |
123 // gmock printer helper. | 123 // gmock printer helper. |
124 void PrintTo(const SyncError& sync_error, std::ostream* os); | 124 void PrintTo(const SyncError& sync_error, std::ostream* os); |
125 | 125 |
126 } // namespace syncer | 126 } // namespace syncer |
127 | 127 |
128 #endif // COMPONENTS_SYNC_API_SYNC_ERROR_H_ | 128 #endif // COMPONENTS_SYNC_MODEL_SYNC_ERROR_H_ |
OLD | NEW |