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

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

Issue 2762853003: [Doodle] Add UMA for doodle image downloads (Closed)
Patch Set: better histograms enum, rebase Created 3 years, 9 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 | components/search_provider_logos/logo_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/logo_bridge.cc
diff --git a/chrome/browser/android/logo_bridge.cc b/chrome/browser/android/logo_bridge.cc
index cd6284ace3d7a39a5f311b4dd7a6bc4191591c63..82de78ae10bd0aa5aa311c157e8d6b369282dc15 100644
--- a/chrome/browser/android/logo_bridge.cc
+++ b/chrome/browser/android/logo_bridge.cc
@@ -299,6 +299,9 @@ void LogoBridge::DoodleImageFetched(
return;
}
+ UMA_HISTOGRAM_BOOLEAN("NewTabPage.LogoImageDownloaded",
+ metadata.from_http_cache);
+
ScopedJavaLocalRef<jobject> j_logo = MakeJavaLogo(
env, image.ToSkBitmap(), on_click_url, alt_text, animated_image_url);
Java_LogoObserver_onLogoAvailable(env, j_logo_observer_, j_logo,
« no previous file with comments | « no previous file | components/search_provider_logos/logo_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698