OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // This file's dependencies should be kept to a minimum so that it can be | 5 // This file's dependencies should be kept to a minimum so that it can be |
6 // included in WebKit code that doesn't rely on much of common. | 6 // included in WebKit code that doesn't rely on much of common. |
7 | 7 |
8 #ifndef NET_URL_REQUEST_URL_REQUEST_STATUS_H_ | 8 #ifndef NET_URL_REQUEST_URL_REQUEST_STATUS_H_ |
9 #define NET_URL_REQUEST_URL_REQUEST_STATUS_H_ | 9 #define NET_URL_REQUEST_URL_REQUEST_STATUS_H_ |
10 #pragma once | 10 #pragma once |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 // Application level status | 61 // Application level status |
62 Status status_; | 62 Status status_; |
63 | 63 |
64 // Error code from the operating system network layer if an error was | 64 // Error code from the operating system network layer if an error was |
65 // encountered | 65 // encountered |
66 int os_error_; | 66 int os_error_; |
67 }; | 67 }; |
68 | 68 |
69 } // namespace net | 69 } // namespace net |
70 | 70 |
71 // TODO(tfarina): Fix the callers and remove this! | |
72 typedef net::URLRequestStatus URLRequestStatus; | |
73 | |
74 #endif // NET_URL_REQUEST_URL_REQUEST_STATUS_H_ | 71 #endif // NET_URL_REQUEST_URL_REQUEST_STATUS_H_ |
OLD | NEW |