OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/tools/quic/quic_in_memory_cache.h" | 5 #include "net/tools/quic/quic_in_memory_cache.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/files/file_enumerator.h" | 9 #include "base/files/file_enumerator.h" |
10 #include "base/files/file_util.h" | 10 #include "base/files/file_util.h" |
11 #include "base/stl_util.h" | 11 #include "base/stl_util.h" |
12 #include "base/strings/string_number_conversions.h" | 12 #include "base/strings/string_number_conversions.h" |
13 #include "base/strings/string_util.h" | 13 #include "base/strings/string_util.h" |
14 #include "base/strings/stringprintf.h" | 14 #include "base/strings/stringprintf.h" |
15 #include "net/http/http_response_headers.h" | 15 #include "net/http/http_response_headers.h" |
16 #include "net/http/http_util.h" | 16 #include "net/http/http_util.h" |
17 #include "net/quic/quic_bug_tracker.h" | 17 #include "net/quic/core/quic_bug_tracker.h" |
18 #include "net/spdy/spdy_http_utils.h" | 18 #include "net/spdy/spdy_http_utils.h" |
19 | 19 |
20 using base::FilePath; | 20 using base::FilePath; |
21 using base::IntToString; | 21 using base::IntToString; |
22 using base::StringPiece; | 22 using base::StringPiece; |
23 using std::list; | 23 using std::list; |
24 using std::string; | 24 using std::string; |
25 | 25 |
26 namespace net { | 26 namespace net { |
27 | 27 |
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
344 for (auto it = resource_range.first; it != resource_range.second; ++it) { | 344 for (auto it = resource_range.first; it != resource_range.second; ++it) { |
345 ServerPushInfo push_resource = it->second; | 345 ServerPushInfo push_resource = it->second; |
346 if (push_resource.request_url.spec() == resource.request_url.spec()) { | 346 if (push_resource.request_url.spec() == resource.request_url.spec()) { |
347 return true; | 347 return true; |
348 } | 348 } |
349 } | 349 } |
350 return false; | 350 return false; |
351 } | 351 } |
352 | 352 |
353 } // namespace net | 353 } // namespace net |
OLD | NEW |