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

Unified Diff: components/image_fetcher/request_metadata.cc

Issue 2761303002: Move common ImageFetcher component files to core/ (Closed)
Patch Set: Rebased. Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/image_fetcher/request_metadata.cc
diff --git a/components/image_fetcher/request_metadata.cc b/components/image_fetcher/request_metadata.cc
deleted file mode 100644
index 51748cdbaef175d3d3a791a724579f08bec19440..0000000000000000000000000000000000000000
--- a/components/image_fetcher/request_metadata.cc
+++ /dev/null
@@ -1,22 +0,0 @@
-// Copyright 2017 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "components/image_fetcher/request_metadata.h"
-
-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.http_response_code == rhs.http_response_code &&
- lhs.from_http_cache == rhs.from_http_cache;
-}
-
-bool operator!=(const RequestMetadata& lhs, const RequestMetadata& rhs) {
- return !(lhs == rhs);
-}
-
-} // namespace image_fetcher
« 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