| 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/core/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/platform/api/quic_flags.h" | 23 #include "net/quic/platform/api/quic_flags.h" |
| 24 #include "net/spdy/array_output_buffer.h" | 24 #include "net/spdy/chromium/spdy_flags.h" |
| 25 #include "net/spdy/hpack/hpack_constants.h" | 25 #include "net/spdy/core/array_output_buffer.h" |
| 26 #include "net/spdy/mock_spdy_framer_visitor.h" | 26 #include "net/spdy/core/hpack/hpack_constants.h" |
| 27 #include "net/spdy/spdy_flags.h" | 27 #include "net/spdy/core/mock_spdy_framer_visitor.h" |
| 28 #include "net/spdy/spdy_frame_builder.h" | 28 #include "net/spdy/core/spdy_frame_builder.h" |
| 29 #include "net/spdy/spdy_frame_reader.h" | 29 #include "net/spdy/core/spdy_frame_reader.h" |
| 30 #include "net/spdy/spdy_protocol.h" | 30 #include "net/spdy/core/spdy_protocol.h" |
| 31 #include "net/spdy/spdy_test_utils.h" | 31 #include "net/spdy/core/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" |
| 34 #include "testing/platform_test.h" | 34 #include "testing/platform_test.h" |
| 35 | 35 |
| 36 using testing::_; | 36 using testing::_; |
| 37 | 37 |
| 38 namespace net { | 38 namespace net { |
| 39 | 39 |
| 40 namespace test { | 40 namespace test { |
| 41 | 41 |
| (...skipping 4780 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4822 | 4822 |
| 4823 EXPECT_EQ(1, visitor->data_frame_count_); | 4823 EXPECT_EQ(1, visitor->data_frame_count_); |
| 4824 EXPECT_EQ(strlen(four_score), static_cast<unsigned>(visitor->data_bytes_)); | 4824 EXPECT_EQ(strlen(four_score), static_cast<unsigned>(visitor->data_bytes_)); |
| 4825 EXPECT_EQ(0, visitor->headers_frame_count_); | 4825 EXPECT_EQ(0, visitor->headers_frame_count_); |
| 4826 } | 4826 } |
| 4827 } | 4827 } |
| 4828 | 4828 |
| 4829 } // namespace test | 4829 } // namespace test |
| 4830 | 4830 |
| 4831 } // namespace net | 4831 } // namespace net |
| OLD | NEW |