OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef NET_REPORTING_REPORTING_POLICY_H_ |
| 6 #define NET_REPORTING_REPORTING_POLICY_H_ |
| 7 |
| 8 #include "base/time/time.h" |
| 9 #include "net/base/backoff_entry.h" |
| 10 #include "net/base/net_export.h" |
| 11 |
| 12 namespace net { |
| 13 |
| 14 // Various policy knobs for the Reporting system. |
| 15 struct NET_EXPORT ReportingPolicy { |
| 16 // Provides a reasonable default for use in a browser embedder. |
| 17 ReportingPolicy(); |
| 18 ReportingPolicy(const ReportingPolicy& other); |
| 19 ~ReportingPolicy(); |
| 20 |
| 21 // Backoff policy for failing endpoints. |
| 22 BackoffEntry::Policy endpoint_backoff_policy; |
| 23 }; |
| 24 |
| 25 } // namespace net |
| 26 |
| 27 #endif // NET_REPORTING_REPORTING_POLICY_H_ |
OLD | NEW |