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 5383086a519b2aa37324ab4335a5df99ef229d1e..79f874be12cb18dd5c068cc2bd3d92a70a61585e 100644 |
--- a/components/image_fetcher/image_data_fetcher.h |
+++ b/components/image_fetcher/image_data_fetcher.h |
@@ -13,6 +13,7 @@ |
#include "base/macros.h" |
#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_delegate.h" |
#include "net/url_request/url_request.h" |
#include "url/gurl.h" |
@@ -27,7 +28,8 @@ namespace image_fetcher { |
class ImageDataFetcher : public net::URLFetcherDelegate { |
public: |
using ImageDataFetcherCallback = |
- base::Callback<void(const std::string& image_data)>; |
+ base::Callback<void(const std::string& image_data, |
+ const RequestMetadata& request_metadata)>; |
using DataUseServiceName = data_use_measurement::DataUseUserData::ServiceName; |