| 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_http_response_cache.h" | 5 #include "net/tools/quic/quic_http_response_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/memory/ptr_util.h" | 11 #include "base/memory/ptr_util.h" |
| 12 #include "base/stl_util.h" | 12 #include "base/stl_util.h" |
| 13 #include "net/http/http_util.h" | 13 #include "net/http/http_util.h" |
| 14 #include "net/quic/core/quic_bug_tracker.h" | 14 #include "net/quic/platform/api/quic_bug_tracker.h" |
| 15 #include "net/quic/platform/api/quic_text_utils.h" | 15 #include "net/quic/platform/api/quic_text_utils.h" |
| 16 #include "net/spdy/spdy_http_utils.h" | 16 #include "net/spdy/spdy_http_utils.h" |
| 17 | 17 |
| 18 using base::FilePath; | 18 using base::FilePath; |
| 19 using base::IntToString; | 19 using base::IntToString; |
| 20 using base::StringPiece; | 20 using base::StringPiece; |
| 21 using std::string; | 21 using std::string; |
| 22 | 22 |
| 23 namespace net { | 23 namespace net { |
| 24 | 24 |
| (...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 for (auto it = resource_range.first; it != resource_range.second; ++it) { | 379 for (auto it = resource_range.first; it != resource_range.second; ++it) { |
| 380 ServerPushInfo push_resource = it->second; | 380 ServerPushInfo push_resource = it->second; |
| 381 if (push_resource.request_url.spec() == resource.request_url.spec()) { | 381 if (push_resource.request_url.spec() == resource.request_url.spec()) { |
| 382 return true; | 382 return true; |
| 383 } | 383 } |
| 384 } | 384 } |
| 385 return false; | 385 return false; |
| 386 } | 386 } |
| 387 | 387 |
| 388 } // namespace net | 388 } // namespace net |
| OLD | NEW |