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

Side by Side Diff: net/spdy/core/hpack/hpack_round_trip_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 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 <cmath> 5 #include <cmath>
6 #include <ctime> 6 #include <ctime>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/rand_util.h" 9 #include "base/rand_util.h"
10 #include "net/spdy/hpack/hpack_constants.h" 10 #include "net/spdy/core/hpack/hpack_constants.h"
11 #include "net/spdy/hpack/hpack_decoder.h" 11 #include "net/spdy/core/hpack/hpack_decoder.h"
12 #include "net/spdy/hpack/hpack_encoder.h" 12 #include "net/spdy/core/hpack/hpack_encoder.h"
13 #include "net/spdy/core/spdy_test_utils.h"
13 #include "net/spdy/platform/api/spdy_string.h" 14 #include "net/spdy/platform/api/spdy_string.h"
14 #include "net/spdy/spdy_test_utils.h"
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 16
17 namespace net { 17 namespace net {
18 namespace test { 18 namespace test {
19 19
20 namespace { 20 namespace {
21 21
22 // Supports testing with the input split at every byte boundary. 22 // Supports testing with the input split at every byte boundary.
23 enum InputSizeParam { ALL_INPUT, ONE_BYTE, ZERO_THEN_ONE_BYTE }; 23 enum InputSizeParam { ALL_INPUT, ONE_BYTE, ZERO_THEN_ONE_BYTE };
24 24
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 headers[name] = value; 220 headers[name] = value;
221 } 221 }
222 EXPECT_TRUE(RoundTrip(headers)); 222 EXPECT_TRUE(RoundTrip(headers));
223 } 223 }
224 } 224 }
225 225
226 } // namespace 226 } // namespace
227 227
228 } // namespace test 228 } // namespace test
229 } // namespace net 229 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/core/hpack/hpack_output_stream_test.cc ('k') | net/spdy/core/hpack/hpack_static_table.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698