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

Unified Diff: components/image_fetcher/image_data_fetcher.h

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/favicon/ios/web_favicon_driver.mm ('k') | components/image_fetcher/image_data_fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/image_fetcher/image_data_fetcher.h
diff --git a/components/image_fetcher/image_data_fetcher.h b/components/image_fetcher/image_data_fetcher.h
index d05ec3d4bb55812189e7a024a0d728c0f04caae3..79f874be12cb18dd5c068cc2bd3d92a70a61585e 100644
--- a/components/image_fetcher/image_data_fetcher.h
+++ b/components/image_fetcher/image_data_fetcher.h
@@ -14,7 +14,6 @@
#include "base/memory/ref_counted.h"
#include "components/data_use_measurement/core/data_use_user_data.h"
#include "components/image_fetcher/request_metadata.h"
-#include "net/url_request/url_fetcher.h"
#include "net/url_request/url_fetcher_delegate.h"
#include "net/url_request/url_request.h"
#include "url/gurl.h"
@@ -28,14 +27,6 @@
class ImageDataFetcher : public net::URLFetcherDelegate {
public:
- // Impossible http response code. Used to signal that no http response code
- // was received.
- enum ResponseCode {
- RESPONSE_CODE_INVALID = net::URLFetcher::RESPONSE_CODE_INVALID
- };
-
- // Callback with the |image_data|. If an error prevented a http response,
- // |request_metadata.response_code| will be RESPONSE_CODE_INVALID.
using ImageDataFetcherCallback =
base::Callback<void(const std::string& image_data,
const RequestMetadata& request_metadata)>;
« no previous file with comments | « components/favicon/ios/web_favicon_driver.mm ('k') | components/image_fetcher/image_data_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698