Chromium Code Reviews| Index: chrome/browser/metrics/variations/variations_request_scheduler.cc |
| diff --git a/chrome/browser/metrics/variations/variations_request_scheduler.cc b/chrome/browser/metrics/variations/variations_request_scheduler.cc |
| index ff437a8c9d450aa7a78fac1127e4e05bc15b1048..d6aabbe9f1e4649c56ba421cdabd10d605ef1065 100644 |
| --- a/chrome/browser/metrics/variations/variations_request_scheduler.cc |
| +++ b/chrome/browser/metrics/variations/variations_request_scheduler.cc |
| @@ -36,6 +36,11 @@ void VariationsRequestScheduler::ScheduleFetchShortly() { |
| task_); |
| } |
| +void VariationsRequestScheduler::OnAppEnterForeground() { |
| + // By default (non-mobile) we can reuse ScheduleFetchShortly. |
|
Alexei Svitkine (slow)
2014/02/13 17:36:22
I would actually make the implementation of this b
rkaplow
2014/02/13 18:54:47
Yeah that seems safer actually. Is this all that i
|
| + ScheduleFetchShortly(); |
| +} |
| + |
| base::Closure VariationsRequestScheduler::task() const { |
| return task_; |
| } |