Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(185)

Side by Side Diff: components/image_fetcher/request_metadata.cc

Issue 2693043003: Revert of Use IOSImageDataFetcherWrapper for favicon (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 #include "components/image_fetcher/request_metadata.h" 5 #include "components/image_fetcher/request_metadata.h"
6 6
7 namespace image_fetcher { 7 namespace image_fetcher {
8 8
9 bool operator==(const RequestMetadata& lhs, const RequestMetadata& rhs) { 9 bool operator==(const RequestMetadata& lhs, const RequestMetadata& rhs) {
10 return lhs.mime_type == rhs.mime_type && 10 return lhs.mime_type == rhs.mime_type;
11 lhs.response_code == rhs.response_code;
12 } 11 }
13 12
14 bool operator!=(const RequestMetadata& lhs, const RequestMetadata& rhs) { 13 bool operator!=(const RequestMetadata& lhs, const RequestMetadata& rhs) {
15 return !(lhs == rhs); 14 return !(lhs == rhs);
16 } 15 }
17 16
18 } // namespace image_fetcher 17 } // namespace image_fetcher
OLDNEW
« no previous file with comments | « components/image_fetcher/request_metadata.h ('k') | components/image_fetcher/request_metadata_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698