OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/spdy_framer.h" | 5 #include "net/spdy/spdy_framer.h" |
6 | 6 |
7 #include <stdlib.h> | 7 #include <stdlib.h> |
8 #include <string.h> | 8 #include <string.h> |
9 | 9 |
10 #include <algorithm> | 10 #include <algorithm> |
11 #include <limits> | 11 #include <limits> |
12 #include <memory> | 12 #include <memory> |
13 #include <string> | 13 #include <string> |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 #include "base/compiler_specific.h" | 16 #include "base/compiler_specific.h" |
17 #include "base/logging.h" | 17 #include "base/logging.h" |
18 #include "base/macros.h" | 18 #include "base/macros.h" |
19 #include "base/strings/string_number_conversions.h" | 19 #include "base/strings/string_number_conversions.h" |
20 #include "net/quic/quic_flags.h" | 20 #include "net/quic/core/quic_flags.h" |
21 #include "net/spdy/hpack/hpack_constants.h" | 21 #include "net/spdy/hpack/hpack_constants.h" |
22 #include "net/spdy/mock_spdy_framer_visitor.h" | 22 #include "net/spdy/mock_spdy_framer_visitor.h" |
23 #include "net/spdy/spdy_flags.h" | 23 #include "net/spdy/spdy_flags.h" |
24 #include "net/spdy/spdy_frame_builder.h" | 24 #include "net/spdy/spdy_frame_builder.h" |
25 #include "net/spdy/spdy_frame_reader.h" | 25 #include "net/spdy/spdy_frame_reader.h" |
26 #include "net/spdy/spdy_protocol.h" | 26 #include "net/spdy/spdy_protocol.h" |
27 #include "net/spdy/spdy_test_utils.h" | 27 #include "net/spdy/spdy_test_utils.h" |
28 #include "testing/gmock/include/gmock/gmock.h" | 28 #include "testing/gmock/include/gmock/gmock.h" |
29 #include "testing/platform_test.h" | 29 #include "testing/platform_test.h" |
30 | 30 |
(...skipping 6319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6350 | 6350 |
6351 EXPECT_EQ(1, visitor->data_frame_count_); | 6351 EXPECT_EQ(1, visitor->data_frame_count_); |
6352 EXPECT_EQ(strlen(four_score), static_cast<unsigned>(visitor->data_bytes_)); | 6352 EXPECT_EQ(strlen(four_score), static_cast<unsigned>(visitor->data_bytes_)); |
6353 EXPECT_EQ(0, visitor->headers_frame_count_); | 6353 EXPECT_EQ(0, visitor->headers_frame_count_); |
6354 } | 6354 } |
6355 } | 6355 } |
6356 | 6356 |
6357 } // namespace test | 6357 } // namespace test |
6358 | 6358 |
6359 } // namespace net | 6359 } // namespace net |
OLD | NEW |