| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/http2/hpack/tools/hpack_block_builder.h" | 5 #include "net/http2/hpack/tools/hpack_block_builder.h" |
| 6 | 6 |
| 7 #include "net/spdy/spdy_test_utils.h" | 7 #include "net/spdy/core/spdy_test_utils.h" |
| 8 #include "testing/gtest/include/gtest/gtest.h" | 8 #include "testing/gtest/include/gtest/gtest.h" |
| 9 | 9 |
| 10 using base::StringPiece; | 10 using base::StringPiece; |
| 11 | 11 |
| 12 namespace net { | 12 namespace net { |
| 13 namespace test { | 13 namespace test { |
| 14 namespace { | 14 namespace { |
| 15 const bool kUncompressed = false; | 15 const bool kUncompressed = false; |
| 16 const bool kCompressed = true; | 16 const bool kCompressed = true; |
| 17 | 17 |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 | 160 |
| 161 const char kData[] = {0x3fu, 0xe1u, 0x9fu, 0x94u, 0xa5u, 0x8du, 0x1du}; | 161 const char kData[] = {0x3fu, 0xe1u, 0x9fu, 0x94u, 0xa5u, 0x8du, 0x1du}; |
| 162 StringPiece expected(kData, sizeof kData); | 162 StringPiece expected(kData, sizeof kData); |
| 163 EXPECT_EQ(expected, b.buffer()); | 163 EXPECT_EQ(expected, b.buffer()); |
| 164 } | 164 } |
| 165 } | 165 } |
| 166 | 166 |
| 167 } // namespace | 167 } // namespace |
| 168 } // namespace test | 168 } // namespace test |
| 169 } // namespace net | 169 } // namespace net |
| OLD | NEW |