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

Unified Diff: chrome/browser/android/omnibox/answers_image_bridge.cc

Issue 2682263002: Network traffic annotation added to chrome::BitmapFetcher. (Closed)
Patch Set: Chrome changed to Chromium 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
Index: chrome/browser/android/omnibox/answers_image_bridge.cc
diff --git a/chrome/browser/android/omnibox/answers_image_bridge.cc b/chrome/browser/android/omnibox/answers_image_bridge.cc
index e21164ec688e8d0b9c118053931f74dc059f7b3b..fa08f54edeabc91769c935532a2a29e6c538155d 100644
--- a/chrome/browser/android/omnibox/answers_image_bridge.cc
+++ b/chrome/browser/android/omnibox/answers_image_bridge.cc
@@ -15,6 +15,7 @@
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/profile_android.h"
#include "jni/AnswersImage_jni.h"
+#include "net/traffic_annotation/network_traffic_annotation.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "ui/gfx/android/java_bitmap.h"
#include "url/gurl.h"
@@ -75,7 +76,8 @@ static int RequestAnswersImage(JNIEnv* env,
std::string url;
base::android::ConvertJavaStringToUTF8(env, java_url, &url);
return bitmap_fetcher_service->RequestImage(
- GURL(url), new AnswersImageObserverAndroid(env, java_callback));
+ GURL(url), new AnswersImageObserverAndroid(env, java_callback),
+ NO_TRAFFIC_ANNOTATION_YET);
}
// static

Powered by Google App Engine
This is Rietveld 408576698