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

Side by Side Diff: net/http2/hpack/tools/hpack_block_builder_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
OLDNEW
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
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
OLDNEW
« no previous file with comments | « net/http2/hpack/huffman/http2_hpack_huffman_decoder_test.cc ('k') | net/http2/hpack/tools/hpack_example.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698