| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_CORE_CONNECTION_STATUS_H_ | 5 #ifndef COMPONENTS_SYNC_ENGINE_CONNECTION_STATUS_H_ |
| 6 #define COMPONENTS_SYNC_CORE_CONNECTION_STATUS_H_ | 6 #define COMPONENTS_SYNC_ENGINE_CONNECTION_STATUS_H_ |
| 7 | 7 |
| 8 namespace syncer { | 8 namespace syncer { |
| 9 | 9 |
| 10 // Status of the sync connection to the server. | 10 // Status of the sync connection to the server. |
| 11 enum ConnectionStatus { | 11 enum ConnectionStatus { |
| 12 CONNECTION_NOT_ATTEMPTED, | 12 CONNECTION_NOT_ATTEMPTED, |
| 13 CONNECTION_OK, | 13 CONNECTION_OK, |
| 14 CONNECTION_AUTH_ERROR, | 14 CONNECTION_AUTH_ERROR, |
| 15 CONNECTION_SERVER_ERROR | 15 CONNECTION_SERVER_ERROR |
| 16 }; | 16 }; |
| 17 | 17 |
| 18 } // namespace syncer | 18 } // namespace syncer |
| 19 | 19 |
| 20 #endif // COMPONENTS_SYNC_CORE_CONNECTION_STATUS_H_ | 20 #endif // COMPONENTS_SYNC_ENGINE_CONNECTION_STATUS_H_ |
| OLD | NEW |