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

Unified Diff: components/doodle/doodle_service.h

Issue 2838833005: Move NewTabPage.LogoShownTime metrics recording into LogoBridge (Closed)
Patch Set: Remove file without real changes Created 3 years, 8 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/doodle/doodle_service.h
diff --git a/components/doodle/doodle_service.h b/components/doodle/doodle_service.h
index e4a9792a99149bad9e08cf054aad14232881ae96..705dbfafb63d20e4974713b8e6a856147d3da5b5 100644
--- a/components/doodle/doodle_service.h
+++ b/components/doodle/doodle_service.h
@@ -59,7 +59,9 @@ class DoodleService : public KeyedService {
// Requests an asynchronous refresh of the DoodleConfig from the network.
// After the update completes, the observers will be notified only if the
// config changed.
- void Refresh();
+ // Returns false if no fetch was issued because the service has fresh data in
+ // it's cache.
+ bool Refresh();
private:
// Note: Keep in sync with the corresponding enum in histograms.xml. Never

Powered by Google App Engine
This is Rietveld 408576698