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

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

Issue 2677993002: Use IOSImageDataFetcherWrapper for favicon (Closed)
Patch Set: Actually adding the header 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;
11 } 12 }
12 13
13 bool operator!=(const RequestMetadata& lhs, const RequestMetadata& rhs) { 14 bool operator!=(const RequestMetadata& lhs, const RequestMetadata& rhs) {
14 return !(lhs == rhs); 15 return !(lhs == rhs);
15 } 16 }
16 17
17 } // namespace image_fetcher 18 } // 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