| Index: net/reporting/reporting_policy.h
|
| diff --git a/net/reporting/reporting_policy.h b/net/reporting/reporting_policy.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5f472d7fe5edbaf971d1f243cafea2a8e2be143f
|
| --- /dev/null
|
| +++ b/net/reporting/reporting_policy.h
|
| @@ -0,0 +1,27 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef NET_REPORTING_REPORTING_POLICY_H_
|
| +#define NET_REPORTING_REPORTING_POLICY_H_
|
| +
|
| +#include "base/time/time.h"
|
| +#include "net/base/backoff_entry.h"
|
| +#include "net/base/net_export.h"
|
| +
|
| +namespace net {
|
| +
|
| +// Various policy knobs for the Reporting system.
|
| +struct NET_EXPORT ReportingPolicy {
|
| + // Provides a reasonable default for use in a browser embedder.
|
| + ReportingPolicy();
|
| + ReportingPolicy(const ReportingPolicy& other);
|
| + ~ReportingPolicy();
|
| +
|
| + // Backoff policy for failing endpoints.
|
| + BackoffEntry::Policy endpoint_backoff_policy;
|
| +};
|
| +
|
| +} // namespace net
|
| +
|
| +#endif // NET_REPORTING_REPORTING_POLICY_H_
|
|
|