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

Side by Side Diff: net/spdy/core/hpack/hpack_decoder_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_decoder_interface.h ('k') | net/spdy/core/hpack/hpack_encoder.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_decoder.h" 5 #include "net/spdy/core/hpack/hpack_decoder.h"
6 6
7 #include <map> 7 #include <map>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "net/spdy/hpack/hpack_encoder.h" 10 #include "net/spdy/chromium/spdy_flags.h"
11 #include "net/spdy/hpack/hpack_input_stream.h" 11 #include "net/spdy/core/hpack/hpack_encoder.h"
12 #include "net/spdy/hpack/hpack_output_stream.h" 12 #include "net/spdy/core/hpack/hpack_input_stream.h"
13 #include "net/spdy/spdy_flags.h" 13 #include "net/spdy/core/hpack/hpack_output_stream.h"
14 #include "net/spdy/spdy_protocol.h" 14 #include "net/spdy/core/spdy_protocol.h"
15 #include "net/spdy/spdy_test_utils.h" 15 #include "net/spdy/core/spdy_test_utils.h"
16 #include "testing/gmock/include/gmock/gmock.h" 16 #include "testing/gmock/include/gmock/gmock.h"
17 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
18 18
19 namespace net { 19 namespace net {
20 namespace test { 20 namespace test {
21 21
22 class HpackDecoderPeer { 22 class HpackDecoderPeer {
23 public: 23 public:
24 explicit HpackDecoderPeer(HpackDecoder* decoder) : decoder_(decoder) {} 24 explicit HpackDecoderPeer(HpackDecoder* decoder) : decoder_(decoder) {}
25 25
(...skipping 817 matching lines...) Expand 10 before | Expand all | Expand 10 after
843 "foo=ASDJKHQKBZXOQWEOPIUAXQWEOIU;" 843 "foo=ASDJKHQKBZXOQWEOPIUAXQWEOIU;"
844 " max-age=3600; version=1"); 844 " max-age=3600; version=1");
845 expectEntry(63, 52, "content-encoding", "gzip"); 845 expectEntry(63, 52, "content-encoding", "gzip");
846 expectEntry(64, 65, "date", "Mon, 21 Oct 2013 20:13:22 GMT"); 846 expectEntry(64, 65, "date", "Mon, 21 Oct 2013 20:13:22 GMT");
847 EXPECT_EQ(215u, decoder_peer_.header_table()->size()); 847 EXPECT_EQ(215u, decoder_peer_.header_table()->size());
848 } 848 }
849 849
850 } // namespace 850 } // namespace
851 } // namespace test 851 } // namespace test
852 } // namespace net 852 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/core/hpack/hpack_decoder_interface.h ('k') | net/spdy/core/hpack/hpack_encoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698