| 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_CONTEXT_H_ | 5 #ifndef COMPONENTS_DOMAIN_RELIABILITY_CONTEXT_H_ |
| 6 #define COMPONENTS_DOMAIN_RELIABILITY_CONTEXT_H_ | 6 #define COMPONENTS_DOMAIN_RELIABILITY_CONTEXT_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include <deque> | 10 #include <deque> |
| 9 #include <vector> | 11 #include <vector> |
| 10 | 12 |
| 13 #include "base/macros.h" |
| 11 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
| 13 #include "base/time/time.h" | 16 #include "base/time/time.h" |
| 14 #include "components/domain_reliability/beacon.h" | 17 #include "components/domain_reliability/beacon.h" |
| 15 #include "components/domain_reliability/config.h" | 18 #include "components/domain_reliability/config.h" |
| 16 #include "components/domain_reliability/domain_reliability_export.h" | 19 #include "components/domain_reliability/domain_reliability_export.h" |
| 17 #include "components/domain_reliability/scheduler.h" | 20 #include "components/domain_reliability/scheduler.h" |
| 18 #include "components/domain_reliability/uploader.h" | 21 #include "components/domain_reliability/uploader.h" |
| 19 | 22 |
| 20 class GURL; | 23 class GURL; |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 const base::TimeTicks* last_network_change_time_; | 125 const base::TimeTicks* last_network_change_time_; |
| 123 | 126 |
| 124 base::WeakPtrFactory<DomainReliabilityContext> weak_factory_; | 127 base::WeakPtrFactory<DomainReliabilityContext> weak_factory_; |
| 125 | 128 |
| 126 DISALLOW_COPY_AND_ASSIGN(DomainReliabilityContext); | 129 DISALLOW_COPY_AND_ASSIGN(DomainReliabilityContext); |
| 127 }; | 130 }; |
| 128 | 131 |
| 129 } // namespace domain_reliability | 132 } // namespace domain_reliability |
| 130 | 133 |
| 131 #endif // COMPONENTS_DOMAIN_RELIABILITY_CONTEXT_H_ | 134 #endif // COMPONENTS_DOMAIN_RELIABILITY_CONTEXT_H_ |
| OLD | NEW |