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

Unified Diff: chrome/browser/doodle/doodle_service_factory.cc

Issue 2772313002: [Doodle] Don't refresh more than once per 15 mins (Closed)
Patch Set: metrics 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/doodle/doodle_service.h » ('j') | components/doodle/doodle_service.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/doodle/doodle_service_factory.cc
diff --git a/chrome/browser/doodle/doodle_service_factory.cc b/chrome/browser/doodle/doodle_service_factory.cc
index 85514239f46c6d5f2121e235452a40081321a084..06cc623b75e4b73aa5aadd9d55695e9407538fb3 100644
--- a/chrome/browser/doodle/doodle_service_factory.cc
+++ b/chrome/browser/doodle/doodle_service_factory.cc
@@ -62,5 +62,6 @@ KeyedService* DoodleServiceFactory::BuildServiceInstanceFor(
return new doodle::DoodleService(profile->GetPrefs(), std::move(fetcher),
base::MakeUnique<base::OneShotTimer>(),
base::MakeUnique<base::DefaultClock>(),
- base::MakeUnique<base::DefaultTickClock>());
+ base::MakeUnique<base::DefaultTickClock>(),
+ /*min_refresh_interval=*/base::nullopt);
}
« no previous file with comments | « no previous file | components/doodle/doodle_service.h » ('j') | components/doodle/doodle_service.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698