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

Unified Diff: components/search_provider_logos/logo_tracker.h

Issue 2762853003: [Doodle] Add UMA for doodle image downloads (Closed)
Patch Set: 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
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 851e1bc5a03479e817241e561888bf17feaf0c57..011f368187cc9e2cdb2794a375ad8a1989aa10c4 100644
--- a/components/search_provider_logos/logo_tracker.h
+++ b/components/search_provider_logos/logo_tracker.h
@@ -192,12 +192,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:

Powered by Google App Engine
This is Rietveld 408576698