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> | 8 #include <stddef.h> |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
| 13 #include "base/memory/scoped_ptr.h" |
13 #include "base/memory/scoped_vector.h" | 14 #include "base/memory/scoped_vector.h" |
14 #include "base/time/time.h" | 15 #include "base/time/time.h" |
15 #include "components/domain_reliability/domain_reliability_export.h" | 16 #include "components/domain_reliability/domain_reliability_export.h" |
16 #include "components/domain_reliability/uploader.h" | 17 #include "components/domain_reliability/uploader.h" |
17 #include "net/base/backoff_entry.h" | 18 #include "net/base/backoff_entry.h" |
18 | 19 |
19 namespace base { | 20 namespace base { |
20 class Value; | 21 class Value; |
21 } // namespace base | 22 } // namespace base |
22 | 23 |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 bool last_upload_finished_; | 140 bool last_upload_finished_; |
140 base::TimeTicks last_upload_start_time_; | 141 base::TimeTicks last_upload_start_time_; |
141 base::TimeTicks last_upload_end_time_; | 142 base::TimeTicks last_upload_end_time_; |
142 size_t last_upload_collector_index_; | 143 size_t last_upload_collector_index_; |
143 bool last_upload_success_; | 144 bool last_upload_success_; |
144 }; | 145 }; |
145 | 146 |
146 } // namespace domain_reliability | 147 } // namespace domain_reliability |
147 | 148 |
148 #endif // COMPONENTS_DOMAIN_RELIABILITY_SCHEDULER_H_ | 149 #endif // COMPONENTS_DOMAIN_RELIABILITY_SCHEDULER_H_ |
OLD | NEW |