| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 <string> | 5 #include <string> |
| 6 | 6 |
| 7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
| 8 #include "base/memory/singleton.h" | 8 #include "base/memory/singleton.h" |
| 9 #include "base/path_service.h" | 9 #include "base/path_service.h" |
| 10 #include "base/strings/string_number_conversions.h" | 10 #include "base/strings/string_number_conversions.h" |
| 11 #include "base/strings/string_piece.h" | 11 #include "base/strings/string_piece.h" |
| 12 #include "net/tools/flip_server/balsa_headers.h" | 12 #include "net/tools/balsa/balsa_headers.h" |
| 13 #include "net/tools/quic/quic_in_memory_cache.h" | 13 #include "net/tools/quic/quic_in_memory_cache.h" |
| 14 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
| 15 | 15 |
| 16 using base::IntToString; | 16 using base::IntToString; |
| 17 using base::StringPiece; | 17 using base::StringPiece; |
| 18 | 18 |
| 19 namespace net { | 19 namespace net { |
| 20 namespace tools { | 20 namespace tools { |
| 21 namespace test { | 21 namespace test { |
| 22 | 22 |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 CreateRequest("www.google.com", "/index.html", &request_headers); | 128 CreateRequest("www.google.com", "/index.html", &request_headers); |
| 129 | 129 |
| 130 const QuicInMemoryCache::Response* response = | 130 const QuicInMemoryCache::Response* response = |
| 131 QuicInMemoryCache::GetInstance()->GetResponse(request_headers); | 131 QuicInMemoryCache::GetInstance()->GetResponse(request_headers); |
| 132 ASSERT_FALSE(response); | 132 ASSERT_FALSE(response); |
| 133 } | 133 } |
| 134 | 134 |
| 135 } // namespace test | 135 } // namespace test |
| 136 } // namespace tools | 136 } // namespace tools |
| 137 } // namespace net | 137 } // namespace net |
| OLD | NEW |