Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(257)

Side by Side Diff: net/spdy/core/hpack/hpack_input_stream_test.cc

Issue 2832973003: Split net/spdy into core and chromium subdirectories. (Closed)
Patch Set: Fix some more build rules. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/spdy/core/hpack/hpack_input_stream.cc ('k') | net/spdy/core/hpack/hpack_output_stream.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_input_stream.h" 5 #include "net/spdy/core/hpack/hpack_input_stream.h"
6 6
7 #include <bitset> 7 #include <bitset>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "net/spdy/hpack/hpack_constants.h" 11 #include "net/spdy/core/hpack/hpack_constants.h"
12 #include "net/spdy/spdy_test_utils.h" 12 #include "net/spdy/core/spdy_test_utils.h"
13 #include "net/test/gtest_util.h" 13 #include "net/test/gtest_util.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 15
16 namespace net { 16 namespace net {
17 17
18 namespace test { 18 namespace test {
19 19
20 using test::a2b_hex; 20 using test::a2b_hex;
21 21
22 // Hex representation of encoded length and Huffman string. 22 // Hex representation of encoded length and Huffman string.
(...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after
771 HpackInputStream input_stream2(input); 771 HpackInputStream input_stream2(input);
772 HpackInputStreamPeer input_stream2_peer(&input_stream2); 772 HpackInputStreamPeer input_stream2_peer(&input_stream2);
773 EXPECT_FALSE(input_stream2.DecodeNextHuffmanString(&output)); 773 EXPECT_FALSE(input_stream2.DecodeNextHuffmanString(&output));
774 EXPECT_EQ(1u, input_stream2_peer.ParsedBytesCurrent()); 774 EXPECT_EQ(1u, input_stream2_peer.ParsedBytesCurrent());
775 EXPECT_TRUE(input_stream2.NeedMoreData()); 775 EXPECT_TRUE(input_stream2.NeedMoreData());
776 } 776 }
777 777
778 } // namespace test 778 } // namespace test
779 779
780 } // namespace net 780 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/core/hpack/hpack_input_stream.cc ('k') | net/spdy/core/hpack/hpack_output_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698