Index: net/url_request/url_request.h |
=================================================================== |
--- net/url_request/url_request.h (revision 220928) |
+++ net/url_request/url_request.h (working copy) |
@@ -528,7 +528,7 @@ |
// Returns the HTTP response code (e.g., 200, 404, and so on). This method |
// may only be called once the delegate's OnResponseStarted method has been |
// called. For non-HTTP requests, this method returns -1. |
- int GetResponseCode(); |
+ int GetResponseCode() const; |
// Get the HTTP response info in its entirety. |
const HttpResponseInfo& response_info() const { return response_info_; } |