OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 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 | 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 #include "net/reporting/reporting_cache.h" | 5 #include "net/reporting/reporting_cache.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 #include <memory> | 8 #include <memory> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
| 11 #include <utility> |
11 #include <vector> | 12 #include <vector> |
12 | 13 |
13 #include "base/memory/ptr_util.h" | 14 #include "base/memory/ptr_util.h" |
14 #include "base/stl_util.h" | 15 #include "base/stl_util.h" |
15 #include "base/time/tick_clock.h" | 16 #include "base/time/tick_clock.h" |
16 #include "base/time/time.h" | 17 #include "base/time/time.h" |
17 #include "net/reporting/reporting_client.h" | 18 #include "net/reporting/reporting_client.h" |
18 #include "net/reporting/reporting_context.h" | 19 #include "net/reporting/reporting_context.h" |
19 #include "net/reporting/reporting_report.h" | 20 #include "net/reporting/reporting_report.h" |
20 #include "url/gurl.h" | 21 #include "url/gurl.h" |
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 return earliest_expired; | 391 return earliest_expired; |
391 else | 392 else |
392 return earliest_used; | 393 return earliest_used; |
393 } | 394 } |
394 | 395 |
395 base::TickClock* ReportingCache::tick_clock() { | 396 base::TickClock* ReportingCache::tick_clock() { |
396 return context_->tick_clock(); | 397 return context_->tick_clock(); |
397 } | 398 } |
398 | 399 |
399 } // namespace net | 400 } // namespace net |
OLD | NEW |