| Index: net/reporting/reporting_test_util.h
|
| diff --git a/net/reporting/reporting_test_util.h b/net/reporting/reporting_test_util.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..bb279ebc0505fac6db94987223c961b2a978cdae
|
| --- /dev/null
|
| +++ b/net/reporting/reporting_test_util.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_TEST_UTIL_H_
|
| +#define NET_REPORTING_REPORTING_TEST_UTIL_H_
|
| +
|
| +class GURL;
|
| +
|
| +namespace url {
|
| +class Origin;
|
| +} // namespace url
|
| +
|
| +namespace net {
|
| +
|
| +class ReportingCache;
|
| +struct ReportingClient;
|
| +
|
| +// Finds a particular client (by origin and endpoint) in the cache and returns
|
| +// it (or nullptr if not found).
|
| +const ReportingClient* FindClientInCache(const ReportingCache* cache,
|
| + const url::Origin& origin,
|
| + const GURL& endpoint);
|
| +
|
| +} // namespace net
|
| +
|
| +#endif // NET_REPORING_REPORTING_TEST_UTIL_H_
|
|
|