| Index: components/image_fetcher/request_metadata.cc
|
| diff --git a/components/image_fetcher/request_metadata.cc b/components/image_fetcher/request_metadata.cc
|
| index 172dc5c2ab1bdb6e3ffbc8af34112faba8d84fed..51748cdbaef175d3d3a791a724579f08bec19440 100644
|
| --- a/components/image_fetcher/request_metadata.cc
|
| +++ b/components/image_fetcher/request_metadata.cc
|
| @@ -6,9 +6,13 @@
|
|
|
| namespace image_fetcher {
|
|
|
| +RequestMetadata::RequestMetadata()
|
| + : http_response_code(RESPONSE_CODE_INVALID), from_http_cache(false) {}
|
| +
|
| bool operator==(const RequestMetadata& lhs, const RequestMetadata& rhs) {
|
| return lhs.mime_type == rhs.mime_type &&
|
| - lhs.response_code == rhs.response_code;
|
| + lhs.http_response_code == rhs.http_response_code &&
|
| + lhs.from_http_cache == rhs.from_http_cache;
|
| }
|
|
|
| bool operator!=(const RequestMetadata& lhs, const RequestMetadata& rhs) {
|
|
|