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_TEST_UTIL_H_ |
| 6 #define NET_REPORTING_REPORTING_TEST_UTIL_H_ |
| 7 |
| 8 class GURL; |
| 9 |
| 10 namespace url { |
| 11 class Origin; |
| 12 } // namespace url |
| 13 |
| 14 namespace net { |
| 15 |
| 16 class ReportingCache; |
| 17 struct ReportingClient; |
| 18 |
| 19 // Finds a particular client (by origin and endpoint) in the cache and returns |
| 20 // it (or nullptr if not found). |
| 21 const ReportingClient* FindClientInCache(const ReportingCache* cache, |
| 22 const url::Origin& origin, |
| 23 const GURL& endpoint); |
| 24 |
| 25 } // namespace net |
| 26 |
| 27 #endif // NET_REPORING_REPORTING_TEST_UTIL_H_ |
OLD | NEW |