Chromium Code Reviews| Index: net/url_request/url_request_status.h |
| diff --git a/net/url_request/url_request_status.h b/net/url_request/url_request_status.h |
| index 521a3d45f5fa94b043e9c4a12ac7a5bce99386f2..ce9e33d085fcf87a3e5488465ae1487c75c41381 100644 |
| --- a/net/url_request/url_request_status.h |
| +++ b/net/url_request/url_request_status.h |
| @@ -27,6 +27,10 @@ class URLRequestStatus { |
| // The request failed for some reason. |error_| may have more information. |
| FAILED, |
| + |
| + // So that Status enums can be used in histograms, always add new values |
| + // before this one, and do not change existing values. |
| + STATUS_MAX |
|
mattm
2013/07/24 02:19:00
any objections to this?
mmenke
2013/07/24 14:26:50
Nope, I'm fine with it... But I'm not sure we nee
|
| }; |
| URLRequestStatus() : status_(SUCCESS), error_(0) {} |