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

Unified Diff: components/image_fetcher/core/image_fetcher_impl.h

Issue 2794343002: Network traffic annotation added to image_data_fetcher. (Closed)
Patch Set: Annotation moved to callers. Created 3 years, 7 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
Index: components/image_fetcher/core/image_fetcher_impl.h
diff --git a/components/image_fetcher/core/image_fetcher_impl.h b/components/image_fetcher/core/image_fetcher_impl.h
index 697217c7f791d5afd91e8de0328f2bda50d07de7..db70deca62f5e40dd122c93b6b800c2727a0c22a 100644
--- a/components/image_fetcher/core/image_fetcher_impl.h
+++ b/components/image_fetcher/core/image_fetcher_impl.h
@@ -16,6 +16,7 @@
#include "components/image_fetcher/core/image_data_fetcher.h"
#include "components/image_fetcher/core/image_decoder.h"
#include "components/image_fetcher/core/image_fetcher.h"
+#include "net/traffic_annotation/network_traffic_annotation.h"
#include "ui/gfx/geometry/size.h"
#include "url/gurl.h"
@@ -33,7 +34,8 @@ namespace image_fetcher {
class ImageFetcherImpl : public image_fetcher::ImageFetcher {
public:
ImageFetcherImpl(std::unique_ptr<ImageDecoder> image_decoder,
- net::URLRequestContextGetter* url_request_context);
+ net::URLRequestContextGetter* url_request_context,
+ const net::NetworkTrafficAnnotationTag& traffic_annotation);
~ImageFetcherImpl() override;
// Sets the |delegate| of the ImageFetcherImpl. The |delegate| has to be alive

Powered by Google App Engine
This is Rietveld 408576698