OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_VARIATIONS_VARIATIONS_REQUEST_SCHEDULER_MOBILE_H_ | 5 #ifndef COMPONENTS_VARIATIONS_VARIATIONS_REQUEST_SCHEDULER_MOBILE_H_ |
6 #define COMPONENTS_VARIATIONS_VARIATIONS_REQUEST_SCHEDULER_MOBILE_H_ | 6 #define COMPONENTS_VARIATIONS_VARIATIONS_REQUEST_SCHEDULER_MOBILE_H_ |
7 | 7 |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "base/gtest_prod_util.h" | 9 #include "base/gtest_prod_util.h" |
| 10 #include "base/macros.h" |
10 #include "components/variations/variations_request_scheduler.h" | 11 #include "components/variations/variations_request_scheduler.h" |
11 | 12 |
12 class PrefService; | 13 class PrefService; |
13 | 14 |
14 namespace variations { | 15 namespace variations { |
15 | 16 |
16 // A specialized VariationsRequestScheduler that manages request cycles for | 17 // A specialized VariationsRequestScheduler that manages request cycles for |
17 // VariationsService on mobile platforms. | 18 // VariationsService on mobile platforms. |
18 class VariationsRequestSchedulerMobile : public VariationsRequestScheduler { | 19 class VariationsRequestSchedulerMobile : public VariationsRequestScheduler { |
19 public: | 20 public: |
(...skipping 24 matching lines...) Expand all Loading... |
44 | 45 |
45 // The time the last seed request was initiated. | 46 // The time the last seed request was initiated. |
46 base::Time last_request_time_; | 47 base::Time last_request_time_; |
47 | 48 |
48 DISALLOW_COPY_AND_ASSIGN(VariationsRequestSchedulerMobile); | 49 DISALLOW_COPY_AND_ASSIGN(VariationsRequestSchedulerMobile); |
49 }; | 50 }; |
50 | 51 |
51 } // namespace variations | 52 } // namespace variations |
52 | 53 |
53 #endif // COMPONENTS_VARIATIONS_VARIATIONS_REQUEST_SCHEDULER_MOBILE_H_ | 54 #endif // COMPONENTS_VARIATIONS_VARIATIONS_REQUEST_SCHEDULER_MOBILE_H_ |
OLD | NEW |