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

Unified Diff: components/image_fetcher/request_metadata.h

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/ios/ios_image_decoder_impl.h ('k') | components/image_fetcher/request_metadata.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/image_fetcher/request_metadata.h
diff --git a/components/image_fetcher/request_metadata.h b/components/image_fetcher/request_metadata.h
deleted file mode 100644
index 03963eeb687a7ea1328b8cc564b09adf614027ba..0000000000000000000000000000000000000000
--- a/components/image_fetcher/request_metadata.h
+++ /dev/null
@@ -1,34 +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.
-
-#ifndef COMPONENTS_IMAGE_FETCHER_REQUEST_METADATA_H_
-#define COMPONENTS_IMAGE_FETCHER_REQUEST_METADATA_H_
-
-#include <string>
-
-#include "net/url_request/url_fetcher.h"
-
-namespace image_fetcher {
-
-// Metadata for a URL request.
-struct RequestMetadata {
- // Impossible http response code. Used to signal that no http response code
- // was received.
- enum ResponseCode {
- RESPONSE_CODE_INVALID = net::URLFetcher::RESPONSE_CODE_INVALID
- };
-
- RequestMetadata();
-
- std::string mime_type;
- int http_response_code;
- bool from_http_cache;
-};
-
-bool operator==(const RequestMetadata& lhs, const RequestMetadata& rhs);
-bool operator!=(const RequestMetadata& lhs, const RequestMetadata& rhs);
-
-} // namespace image_fetcher
-
-#endif // COMPONENTS_IMAGE_FETCHER_REQUEST_METADATA_H_
« no previous file with comments | « components/image_fetcher/ios/ios_image_decoder_impl.h ('k') | components/image_fetcher/request_metadata.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698