| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_COMMON_NET_HTTP_RETURN_H_ | 5 #ifndef CHROME_COMMON_NET_HTTP_RETURN_H_ |
| 6 #define CHROME_COMMON_NET_HTTP_RETURN_H_ | 6 #define CHROME_COMMON_NET_HTTP_RETURN_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 // TODO(sanjeevr): This has been moved from the sync library so it only | 9 // TODO(sanjeevr): This has been moved from the sync library so it only |
| 10 // contains a few HTTP return codes. Add more HTTP return codes. | 10 // contains a few HTTP return codes. Add more HTTP return codes. |
| 11 enum HTTPReturnCode { | 11 enum HTTPReturnCode { |
| 12 RC_REQUEST_OK = 200, | 12 RC_REQUEST_OK = 200, |
| 13 RC_BAD_REQUEST = 400, |
| 13 RC_UNAUTHORIZED = 401, | 14 RC_UNAUTHORIZED = 401, |
| 14 RC_FORBIDDEN = 403, | 15 RC_FORBIDDEN = 403, |
| 16 RC_INTERNAL_SERVER_ERROR = 500, |
| 15 }; | 17 }; |
| 16 | 18 |
| 17 #endif // CHROME_COMMON_NET_HTTP_RETURN_H_ | 19 #endif // CHROME_COMMON_NET_HTTP_RETURN_H_ |
| 18 | |
| OLD | NEW |