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

Side by Side Diff: net/spdy/spdy_framer_test.cc

Issue 2825083003: Landing Recent QUIC changes until Mon Apr 17 2017 (Closed)
Patch Set: Format 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/spdy_framer.cc ('k') | net/tools/quic/end_to_end_test.cc » ('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 (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 <cstdint> 11 #include <cstdint>
12 #include <limits> 12 #include <limits>
13 #include <memory> 13 #include <memory>
14 #include <tuple> 14 #include <tuple>
15 #include <utility> 15 #include <utility>
16 #include <vector> 16 #include <vector>
17 17
18 #include "base/compiler_specific.h" 18 #include "base/compiler_specific.h"
19 #include "base/logging.h" 19 #include "base/logging.h"
20 #include "base/macros.h" 20 #include "base/macros.h"
21 #include "base/memory/ptr_util.h" 21 #include "base/memory/ptr_util.h"
22 #include "base/strings/string_number_conversions.h" 22 #include "base/strings/string_number_conversions.h"
23 #include "net/quic/core/quic_flags.h" 23 #include "net/quic/platform/api/quic_flags.h"
24 #include "net/spdy/array_output_buffer.h" 24 #include "net/spdy/array_output_buffer.h"
25 #include "net/spdy/hpack/hpack_constants.h" 25 #include "net/spdy/hpack/hpack_constants.h"
26 #include "net/spdy/mock_spdy_framer_visitor.h" 26 #include "net/spdy/mock_spdy_framer_visitor.h"
27 #include "net/spdy/spdy_flags.h" 27 #include "net/spdy/spdy_flags.h"
28 #include "net/spdy/spdy_frame_builder.h" 28 #include "net/spdy/spdy_frame_builder.h"
29 #include "net/spdy/spdy_frame_reader.h" 29 #include "net/spdy/spdy_frame_reader.h"
30 #include "net/spdy/spdy_protocol.h" 30 #include "net/spdy/spdy_protocol.h"
31 #include "net/spdy/spdy_test_utils.h" 31 #include "net/spdy/spdy_test_utils.h"
32 #include "testing/gmock/include/gmock/gmock.h" 32 #include "testing/gmock/include/gmock/gmock.h"
33 #include "testing/gtest/include/gtest/gtest.h" 33 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 4667 matching lines...) Expand 10 before | Expand all | Expand 10 after
4701 4701
4702 EXPECT_EQ(1, visitor->data_frame_count_); 4702 EXPECT_EQ(1, visitor->data_frame_count_);
4703 EXPECT_EQ(strlen(four_score), static_cast<unsigned>(visitor->data_bytes_)); 4703 EXPECT_EQ(strlen(four_score), static_cast<unsigned>(visitor->data_bytes_));
4704 EXPECT_EQ(0, visitor->headers_frame_count_); 4704 EXPECT_EQ(0, visitor->headers_frame_count_);
4705 } 4705 }
4706 } 4706 }
4707 4707
4708 } // namespace test 4708 } // namespace test
4709 4709
4710 } // namespace net 4710 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/spdy_framer.cc ('k') | net/tools/quic/end_to_end_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698