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

Unified Diff: chrome/browser/android/logo_bridge.cc

Issue 2794343002: Network traffic annotation added to image_data_fetcher. (Closed)
Patch Set: Favicon Annotation updated. 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: chrome/browser/android/logo_bridge.cc
diff --git a/chrome/browser/android/logo_bridge.cc b/chrome/browser/android/logo_bridge.cc
index 95780e1e1fdaa176e2ca54d21d21bec4212b2835..a635fec81d677405769da9d8c09700d50545175c 100644
--- a/chrome/browser/android/logo_bridge.cc
+++ b/chrome/browser/android/logo_bridge.cc
@@ -23,6 +23,7 @@
#include "components/image_fetcher/core/image_fetcher_impl.h"
#include "components/search_provider_logos/logo_tracker.h"
#include "jni/LogoBridge_jni.h"
+#include "net/traffic_annotation/network_traffic_annotation.h"
#include "net/url_request/url_fetcher.h"
#include "net/url_request/url_fetcher_delegate.h"
#include "net/url_request/url_request_context_getter.h"
@@ -299,7 +300,8 @@ void LogoBridge::FetchDoodleImage(const doodle::DoodleConfig& doodle_config,
image_fetcher_->StartOrQueueNetworkRequest(
image_url.spec(), image_url,
base::Bind(&LogoBridge::DoodleImageFetched, base::Unretained(this),
- from_cache, on_click_url, alt_text, animated_image_url));
+ from_cache, on_click_url, alt_text, animated_image_url),
+ NO_TRAFFIC_ANNOTATION_YET);
}
void LogoBridge::DoodleImageFetched(

Powered by Google App Engine
This is Rietveld 408576698