| 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_huffman_table.h" | 5 #include "net/spdy/core/hpack/hpack_huffman_table.h" |
| 6 | 6 |
| 7 #include <stdint.h> | 7 #include <stdint.h> |
| 8 | 8 |
| 9 #include <bitset> | 9 #include <bitset> |
| 10 #include <utility> | 10 #include <utility> |
| 11 | 11 |
| 12 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "net/spdy/hpack/hpack_constants.h" | 14 #include "net/spdy/core/hpack/hpack_constants.h" |
| 15 #include "net/spdy/hpack/hpack_huffman_decoder.h" | 15 #include "net/spdy/core/hpack/hpack_huffman_decoder.h" |
| 16 #include "net/spdy/hpack/hpack_input_stream.h" | 16 #include "net/spdy/core/hpack/hpack_input_stream.h" |
| 17 #include "net/spdy/hpack/hpack_output_stream.h" | 17 #include "net/spdy/core/hpack/hpack_output_stream.h" |
| 18 #include "net/spdy/spdy_test_utils.h" | 18 #include "net/spdy/core/spdy_test_utils.h" |
| 19 #include "testing/gmock/include/gmock/gmock.h" | 19 #include "testing/gmock/include/gmock/gmock.h" |
| 20 #include "testing/gtest/include/gtest/gtest.h" | 20 #include "testing/gtest/include/gtest/gtest.h" |
| 21 | 21 |
| 22 using testing::ElementsAreArray; | 22 using testing::ElementsAreArray; |
| 23 using testing::Pointwise; | 23 using testing::Pointwise; |
| 24 | 24 |
| 25 namespace net { | 25 namespace net { |
| 26 | 26 |
| 27 namespace test { | 27 namespace test { |
| 28 | 28 |
| (...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 457 output_stream.TakeString(&encoding); | 457 output_stream.TakeString(&encoding); |
| 458 EXPECT_EQ(encoding.size(), table_.EncodedSize(test_table[i])); | 458 EXPECT_EQ(encoding.size(), table_.EncodedSize(test_table[i])); |
| 459 } | 459 } |
| 460 } | 460 } |
| 461 | 461 |
| 462 } // namespace | 462 } // namespace |
| 463 | 463 |
| 464 } // namespace test | 464 } // namespace test |
| 465 | 465 |
| 466 } // namespace net | 466 } // namespace net |
| OLD | NEW |