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

Unified Diff: components/doodle/doodle_service.h

Issue 2833473002: Record NTP.LogoShownTime for timely refreshs only (Closed)
Patch Set: Fix compile errors and comments 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..5d0124157edf031d3147aeb2e0f1755fbbe091c1 100644
--- a/components/doodle/doodle_service.h
+++ b/components/doodle/doodle_service.h
@@ -58,8 +58,8 @@ 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();
+ // config changed. Returns true if a network request was actually sent.
+ bool Refresh();
private:
// Note: Keep in sync with the corresponding enum in histograms.xml. Never

Powered by Google App Engine
This is Rietveld 408576698