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_BEACON_H_ | 5 #ifndef COMPONENTS_DOMAIN_RELIABILITY_BEACON_H_ |
6 #define COMPONENTS_DOMAIN_RELIABILITY_BEACON_H_ | 6 #define COMPONENTS_DOMAIN_RELIABILITY_BEACON_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/scoped_vector.h" | 11 #include "base/memory/scoped_vector.h" |
11 #include "base/time/time.h" | 12 #include "base/time/time.h" |
12 #include "components/domain_reliability/domain_reliability_export.h" | 13 #include "components/domain_reliability/domain_reliability_export.h" |
13 #include "net/base/net_error_details.h" | 14 #include "net/base/net_error_details.h" |
14 #include "url/gurl.h" | 15 #include "url/gurl.h" |
15 | 16 |
16 namespace base { | 17 namespace base { |
17 class Value; | 18 class Value; |
18 } // namespace base | 19 } // namespace base |
19 | 20 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 int upload_depth; | 74 int upload_depth; |
74 // The probability that this request had of being reported ("sample rate"). | 75 // The probability that this request had of being reported ("sample rate"). |
75 double sample_rate; | 76 double sample_rate; |
76 | 77 |
77 // Okay to copy and assign. | 78 // Okay to copy and assign. |
78 }; | 79 }; |
79 | 80 |
80 } // namespace domain_reliability | 81 } // namespace domain_reliability |
81 | 82 |
82 #endif // COMPONENTS_DOMAIN_RELIABILITY_BEACON_H_ | 83 #endif // COMPONENTS_DOMAIN_RELIABILITY_BEACON_H_ |
OLD | NEW |