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

Unified Diff: components/cronet/ios/cronet_environment.mm

Issue 2790063004: [Cronet] Initialize StatisticsRecorder early (Closed)
Patch Set: ios 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/cronet/ios/cronet_environment.mm
diff --git a/components/cronet/ios/cronet_environment.mm b/components/cronet/ios/cronet_environment.mm
index e886659100504e8358719afbb5a616d6e7fdd65d..5873c0ef7fd4af38f47e0a249fd8c61a5952746c 100644
--- a/components/cronet/ios/cronet_environment.mm
+++ b/components/cronet/ios/cronet_environment.mm
@@ -349,7 +349,6 @@ std::string CronetEnvironment::user_agent() {
}
std::vector<uint8_t> CronetEnvironment::GetHistogramDeltas() {
- base::StatisticsRecorder::Initialize();
std::vector<uint8_t> data;
if (!HistogramManager::GetInstance()->GetDeltas(&data))
return std::vector<uint8_t>();

Powered by Google App Engine
This is Rietveld 408576698