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

Unified Diff: chrome/browser/android/offline_pages/evaluation/evaluation_test_scheduler.h

Issue 2662103003: Always get device conditions from Java for every attempt. (Closed)
Patch Set: Created 3 years, 11 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/android/offline_pages/evaluation/evaluation_test_scheduler.h
diff --git a/chrome/browser/android/offline_pages/evaluation/evaluation_test_scheduler.h b/chrome/browser/android/offline_pages/evaluation/evaluation_test_scheduler.h
index b7acd9dbd3790fb3b23544bc34acab42d7991166..965e7d780db92504d5d1eb433995ae6a74f1ee83 100644
--- a/chrome/browser/android/offline_pages/evaluation/evaluation_test_scheduler.h
+++ b/chrome/browser/android/offline_pages/evaluation/evaluation_test_scheduler.h
@@ -15,17 +15,22 @@ namespace android {
class EvaluationTestScheduler : public Scheduler {
public:
+ EvaluationTestScheduler();
+ ~EvaluationTestScheduler() override;
+
// Scheduler implementation.
void Schedule(const TriggerConditions& trigger_conditions) override;
void BackupSchedule(const TriggerConditions& trigger_conditions,
long delay_in_seconds) override;
void Unschedule() override;
+ DeviceConditions& GetCurrentDeviceConditions() override;
// Callback used by user request.
void ImmediateScheduleCallback(bool result);
private:
RequestCoordinator* coordinator_;
+ DeviceConditions device_conditions_;
};
} // namespace android

Powered by Google App Engine
This is Rietveld 408576698