Fix weekly aggregate recording in android

Bug: 630652
Change-Id: Iaacf13e7a3680407a4ead0eb11554f13b17d36a6
Reviewed-on: https://chromium-review.googlesource.com/1142491
Reviewed-by: Ryan Sturm <ryansturm@chromium.org>
Commit-Queue: rajendrant <rajendrant@chromium.org>
Cr-Commit-Position: refs/heads/master@{#576943}
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc
index febc0e1..7272010 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc
@@ -469,6 +469,8 @@
         weak_factory_.GetWeakPtr()));
   }
 
+  InitializeWeeklyAggregateDataUse(base::Time::Now());
+
   if (delay_.is_zero())
     return;
 
@@ -517,8 +519,6 @@
   InitListPref(prefs::kDailyHttpReceivedContentLength);
   InitListPref(prefs::kDailyOriginalContentLengthViaDataReductionProxy);
   InitListPref(prefs::kDailyOriginalContentLengthWithDataReductionProxyEnabled);
-
-  InitializeWeeklyAggregateDataUse(base::Time::Now());
 }
 
 void DataReductionProxyCompressionStats::RecordDataUseWithMimeType(