| OLD | NEW |
| 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 COMPONENTS_OFFLINE_PAGES_BACKGROUND_SCHEDULER_STUB_H_ | 5 #ifndef COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_SCHEDULER_STUB_H_ |
| 6 #define COMPONENTS_OFFLINE_PAGES_BACKGROUND_SCHEDULER_STUB_H_ | 6 #define COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_SCHEDULER_STUB_H_ |
| 7 | 7 |
| 8 #include "components/offline_pages/background/scheduler.h" | 8 #include "components/offline_pages/core/background/scheduler.h" |
| 9 | 9 |
| 10 namespace offline_pages { | 10 namespace offline_pages { |
| 11 | 11 |
| 12 // Test class stubbing out the functionality of Scheduler. | 12 // Test class stubbing out the functionality of Scheduler. |
| 13 // It is only used for test support. | 13 // It is only used for test support. |
| 14 class SchedulerStub : public Scheduler { | 14 class SchedulerStub : public Scheduler { |
| 15 public: | 15 public: |
| 16 SchedulerStub(); | 16 SchedulerStub(); |
| 17 ~SchedulerStub() override; | 17 ~SchedulerStub() override; |
| 18 | 18 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 35 private: | 35 private: |
| 36 bool schedule_called_; | 36 bool schedule_called_; |
| 37 bool backup_schedule_called_; | 37 bool backup_schedule_called_; |
| 38 bool unschedule_called_; | 38 bool unschedule_called_; |
| 39 long schedule_delay_; | 39 long schedule_delay_; |
| 40 TriggerConditions conditions_; | 40 TriggerConditions conditions_; |
| 41 }; | 41 }; |
| 42 | 42 |
| 43 } // namespace offline_pages | 43 } // namespace offline_pages |
| 44 | 44 |
| 45 #endif // COMPONENTS_OFFLINE_PAGES_BACKGROUND_SCHEDULER_STUB_H_ | 45 #endif // COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_SCHEDULER_STUB_H_ |
| OLD | NEW |