OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_DOMAIN_RELIABILITY_SCHEDULER_H_ | 5 #ifndef COMPONENTS_DOMAIN_RELIABILITY_SCHEDULER_H_ |
6 #define COMPONENTS_DOMAIN_RELIABILITY_SCHEDULER_H_ | 6 #define COMPONENTS_DOMAIN_RELIABILITY_SCHEDULER_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 #include "base/callback.h" | 12 #include "base/callback.h" |
11 #include "base/memory/scoped_vector.h" | 13 #include "base/memory/scoped_vector.h" |
12 #include "base/time/time.h" | 14 #include "base/time/time.h" |
13 #include "components/domain_reliability/domain_reliability_export.h" | 15 #include "components/domain_reliability/domain_reliability_export.h" |
14 #include "components/domain_reliability/uploader.h" | 16 #include "components/domain_reliability/uploader.h" |
15 #include "net/base/backoff_entry.h" | 17 #include "net/base/backoff_entry.h" |
16 | 18 |
17 namespace base { | 19 namespace base { |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 bool last_upload_finished_; | 139 bool last_upload_finished_; |
138 base::TimeTicks last_upload_start_time_; | 140 base::TimeTicks last_upload_start_time_; |
139 base::TimeTicks last_upload_end_time_; | 141 base::TimeTicks last_upload_end_time_; |
140 size_t last_upload_collector_index_; | 142 size_t last_upload_collector_index_; |
141 bool last_upload_success_; | 143 bool last_upload_success_; |
142 }; | 144 }; |
143 | 145 |
144 } // namespace domain_reliability | 146 } // namespace domain_reliability |
145 | 147 |
146 #endif // COMPONENTS_DOMAIN_RELIABILITY_SCHEDULER_H_ | 148 #endif // COMPONENTS_DOMAIN_RELIABILITY_SCHEDULER_H_ |
OLD | NEW |