OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/spdy/hpack/hpack_header_table.h" | 5 #include "net/spdy/core/hpack/hpack_header_table.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <set> | 8 #include <set> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "net/spdy/hpack/hpack_constants.h" | 12 #include "net/spdy/chromium/spdy_flags.h" |
13 #include "net/spdy/hpack/hpack_entry.h" | 13 #include "net/spdy/core/hpack/hpack_constants.h" |
| 14 #include "net/spdy/core/hpack/hpack_entry.h" |
14 #include "net/spdy/platform/api/spdy_string.h" | 15 #include "net/spdy/platform/api/spdy_string.h" |
15 #include "net/spdy/spdy_flags.h" | |
16 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
17 | 17 |
18 namespace net { | 18 namespace net { |
19 | 19 |
20 using std::distance; | 20 using std::distance; |
21 | 21 |
22 namespace test { | 22 namespace test { |
23 | 23 |
24 class HpackHeaderTablePeer { | 24 class HpackHeaderTablePeer { |
25 public: | 25 public: |
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
439 HpackHeaderTable::EntryHasher hasher; | 439 HpackHeaderTable::EntryHasher hasher; |
440 EXPECT_EQ(hasher(&entry1), hasher(&entry2)); | 440 EXPECT_EQ(hasher(&entry1), hasher(&entry2)); |
441 | 441 |
442 HpackHeaderTable::EntriesEq eq; | 442 HpackHeaderTable::EntriesEq eq; |
443 EXPECT_TRUE(eq(&entry1, &entry2)); | 443 EXPECT_TRUE(eq(&entry1, &entry2)); |
444 } | 444 } |
445 | 445 |
446 } // namespace | 446 } // namespace |
447 | 447 |
448 } // namespace net | 448 } // namespace net |
OLD | NEW |