| Index: net/url_request/url_request_throttler_entry_interface.h
|
| diff --git a/net/url_request/url_request_throttler_entry_interface.h b/net/url_request/url_request_throttler_entry_interface.h
|
| index 259c5cfbce318fd92b1c70884292299d22fd9c60..a910e1a5e80f71a092bed4981669d3ed93cd02b0 100644
|
| --- a/net/url_request/url_request_throttler_entry_interface.h
|
| +++ b/net/url_request/url_request_throttler_entry_interface.h
|
| @@ -49,9 +49,10 @@ class NET_API URLRequestThrottlerEntryInterface
|
|
|
| // Lets higher-level modules, that know how to parse particular response
|
| // bodies, notify of receiving malformed content for the given URL. This will
|
| - // be handled by the throttler as if an HTTP 5xx response had been received to
|
| - // the request, i.e. it will count as a failure.
|
| - virtual void ReceivedContentWasMalformed() = 0;
|
| + // be handled by the throttler as if an HTTP 503 response had been received to
|
| + // the request, i.e. it will count as a failure, unless the HTTP response code
|
| + // indicated is already one of those that will be counted as an error.
|
| + virtual void ReceivedContentWasMalformed(int response_code) = 0;
|
|
|
| protected:
|
| friend class base::RefCountedThreadSafe<URLRequestThrottlerEntryInterface>;
|
|
|