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

Unified Diff: chrome/browser/metrics/variations/variations_request_scheduler.cc

Issue 147723010: Expose a method in VariationsService to trigger a seed fetch. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ensure onappforeground fetch doesn't trigger if start already has Created 6 years, 10 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: 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..8f62c350f3963fcdc7d23dbf3f7a67c40b15fe50 100644
--- a/chrome/browser/metrics/variations/variations_request_scheduler.cc
+++ b/chrome/browser/metrics/variations/variations_request_scheduler.cc
@@ -36,6 +36,10 @@ void VariationsRequestScheduler::ScheduleFetchShortly() {
task_);
}
+void VariationsRequestScheduler::OnAppEnterForeground() {
+ NOTREACHED() << "Attempted to OnAppEnterForeground on non-mobile device";
+}
+
base::Closure VariationsRequestScheduler::task() const {
return task_;
}

Powered by Google App Engine
This is Rietveld 408576698