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

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

Issue 2760253003: [Doodle] Record UMA for DoodleConfig download outcome and time (Closed)
Patch Set: tests 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 159c65f69adb9f286d7d4e84ce348d8ca916eec4..f3ca182da461d94dd3e97e0153c7f12153cd4f69 100644
--- a/chrome/browser/doodle/doodle_service_factory.cc
+++ b/chrome/browser/doodle/doodle_service_factory.cc
@@ -9,6 +9,7 @@
#include "base/memory/ptr_util.h"
#include "base/time/default_clock.h"
+#include "base/time/default_tick_clock.h"
#include "base/timer/timer.h"
#include "chrome/browser/google/google_url_tracker_factory.h"
#include "chrome/browser/profiles/profile.h"
@@ -51,5 +52,6 @@ KeyedService* DoodleServiceFactory::BuildServiceInstanceFor(
base::Bind(&safe_json::SafeJsonParser::Parse));
return new doodle::DoodleService(profile->GetPrefs(), std::move(fetcher),
base::MakeUnique<base::OneShotTimer>(),
- base::MakeUnique<base::DefaultClock>());
+ base::MakeUnique<base::DefaultClock>(),
+ base::MakeUnique<base::DefaultTickClock>());
}
« 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