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

Unified Diff: chrome/browser/android/compositor/scene_layer/contextual_search_scene_layer.cc

Issue 2682263002: Network traffic annotation added to chrome::BitmapFetcher. (Closed)
Patch Set: nits 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 | « no previous file | chrome/browser/android/omnibox/answers_image_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/compositor/scene_layer/contextual_search_scene_layer.cc
diff --git a/chrome/browser/android/compositor/scene_layer/contextual_search_scene_layer.cc b/chrome/browser/android/compositor/scene_layer/contextual_search_scene_layer.cc
index 1f9269ce333ccbce7cd500ac36f63887b6bf49d5..05bc04ce06f094eec9ad1a71a1ecbbf782a3d560 100644
--- a/chrome/browser/android/compositor/scene_layer/contextual_search_scene_layer.cc
+++ b/chrome/browser/android/compositor/scene_layer/contextual_search_scene_layer.cc
@@ -16,6 +16,7 @@
#include "content/public/browser/web_contents.h"
#include "jni/ContextualSearchSceneLayer_jni.h"
#include "net/base/load_flags.h"
+#include "net/traffic_annotation/network_traffic_annotation.h"
#include "net/url_request/url_request_context_getter.h"
#include "ui/android/resources/resource_manager_impl.h"
#include "ui/android/view_android.h"
@@ -232,7 +233,8 @@ void ContextualSearchSceneLayer::FetchThumbnail(jobject j_profile) {
GURL gurl(thumbnail_url_);
Profile* profile = ProfileAndroid::FromProfileAndroid(j_profile);
- fetcher_ = base::MakeUnique<chrome::BitmapFetcher>(gurl, this);
+ fetcher_ = base::MakeUnique<chrome::BitmapFetcher>(gurl, this,
+ NO_TRAFFIC_ANNOTATION_YET);
fetcher_->Init(
profile->GetRequestContext(),
std::string(),
« no previous file with comments | « no previous file | chrome/browser/android/omnibox/answers_image_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698