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

Unified Diff: components/search_provider_logos/logo_tracker.h

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 | « chrome/browser/android/logo_bridge.cc ('k') | components/search_provider_logos/logo_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/search_provider_logos/logo_tracker.h
diff --git a/components/search_provider_logos/logo_tracker.h b/components/search_provider_logos/logo_tracker.h
index 10e033c0d0e15dd89b90762a381a44b99f59e455..402b6401ecb1582a804435e45397eabe4a49dece 100644
--- a/components/search_provider_logos/logo_tracker.h
+++ b/components/search_provider_logos/logo_tracker.h
@@ -194,12 +194,14 @@ class LogoTracker : public net::URLFetcherDelegate {
// Called when the logo has been downloaded and parsed. |logo| will be NULL
// if the server's response was invalid.
void OnFreshLogoParsed(bool* parsing_failed,
+ bool from_http_cache,
std::unique_ptr<EncodedLogo> logo);
// Called when the fresh logo has been decoded into an SkBitmap. |image| will
// be NULL if decoding failed.
void OnFreshLogoAvailable(std::unique_ptr<EncodedLogo> logo,
bool parsing_failed,
+ bool from_http_cache,
const SkBitmap& image);
// net::URLFetcherDelegate:
« no previous file with comments | « chrome/browser/android/logo_bridge.cc ('k') | components/search_provider_logos/logo_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698