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

Side by Side Diff: chrome/browser/android/offline_pages/evaluation/evaluation_test_scheduler.h

Issue 2529603004: [Offline Pages] Expanding event logger to be used by harness. (Closed)
Patch Set: comments. Created 4 years 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_ANDROID_OFFLINE_PAGES_EVALUATION_EVALUATION_TEST_SCHEDULE R_H_ 5 #ifndef CHROME_BROWSER_ANDROID_OFFLINE_PAGES_EVALUATION_EVALUATION_TEST_SCHEDULE R_H_
6 #define CHROME_BROWSER_ANDROID_OFFLINE_PAGES_EVALUATION_EVALUATION_TEST_SCHEDULE R_H_ 6 #define CHROME_BROWSER_ANDROID_OFFLINE_PAGES_EVALUATION_EVALUATION_TEST_SCHEDULE R_H_
7 7
8 #include "components/offline_pages/background/scheduler.h" 8 #include "components/offline_pages/background/scheduler.h"
9 #include "components/offline_pages/offline_event_logger.h"
fgorski 2016/12/01 21:42:52 this include is not used in this .h file, is it?
romax 2016/12/02 01:57:49 Done.
9 10
10 namespace offline_pages { 11 namespace offline_pages {
12
13 class RequestCoordinator;
14
11 namespace android { 15 namespace android {
12 16
13 class EvaluationTestScheduler : public Scheduler { 17 class EvaluationTestScheduler : public Scheduler {
14 public: 18 public:
15 // Scheduler implementation. 19 // Scheduler implementation.
16 void Schedule(const TriggerConditions& trigger_conditions) override; 20 void Schedule(const TriggerConditions& trigger_conditions) override;
17 void BackupSchedule(const TriggerConditions& trigger_conditions, 21 void BackupSchedule(const TriggerConditions& trigger_conditions,
18 long delay_in_seconds) override; 22 long delay_in_seconds) override;
19 void Unschedule() override; 23 void Unschedule() override;
20 24
21 // Callback used by user request. 25 // Callback used by user request.
22 void ImmediateScheduleCallback(bool result); 26 void ImmediateScheduleCallback(bool result);
27
28 private:
29 RequestCoordinator* coordinator_;
23 }; 30 };
24 31
25 } // namespace android 32 } // namespace android
26 } // namespace offline_pages 33 } // namespace offline_pages
27 34
28 #endif // CHROME_BROWSER_ANDROID_OFFLINE_PAGES_EVALUATION_EVALUATION_TEST_SCHED ULER_H_ 35 #endif // CHROME_BROWSER_ANDROID_OFFLINE_PAGES_EVALUATION_EVALUATION_TEST_SCHED ULER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698