| 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_output_stream.h" | 5 #include "net/spdy/core/hpack/hpack_output_stream.h" |
| 6 | 6 |
| 7 #include <cstddef> | 7 #include <cstddef> |
| 8 | 8 |
| 9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
| 10 | 10 |
| 11 namespace net { | 11 namespace net { |
| 12 | 12 |
| 13 namespace { | 13 namespace { |
| 14 | 14 |
| 15 // Make sure that AppendBits() appends bits starting from the most | 15 // Make sure that AppendBits() appends bits starting from the most |
| (...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 output_stream.BoundedTakeString(9, &str); | 267 output_stream.BoundedTakeString(9, &str); |
| 268 EXPECT_EQ("uffer456\xff", str); | 268 EXPECT_EQ("uffer456\xff", str); |
| 269 | 269 |
| 270 output_stream.BoundedTakeString(9, &str); | 270 output_stream.BoundedTakeString(9, &str); |
| 271 EXPECT_EQ("\x10", str); | 271 EXPECT_EQ("\x10", str); |
| 272 } | 272 } |
| 273 | 273 |
| 274 } // namespace | 274 } // namespace |
| 275 | 275 |
| 276 } // namespace net | 276 } // namespace net |
| OLD | NEW |