OLD | NEW |
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 #ifndef NET_SPDY_MOCK_SPDY_FRAMER_VISITOR_H_ | 5 #ifndef NET_SPDY_MOCK_SPDY_FRAMER_VISITOR_H_ |
6 #define NET_SPDY_MOCK_SPDY_FRAMER_VISITOR_H_ | 6 #define NET_SPDY_MOCK_SPDY_FRAMER_VISITOR_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <cstdint> | 11 #include <cstdint> |
12 #include <memory> | 12 #include <memory> |
13 | 13 |
| 14 #include "net/spdy/core/spdy_framer.h" |
| 15 #include "net/spdy/core/spdy_test_utils.h" |
14 #include "net/spdy/platform/api/spdy_string_piece.h" | 16 #include "net/spdy/platform/api/spdy_string_piece.h" |
15 #include "net/spdy/spdy_framer.h" | |
16 #include "net/spdy/spdy_test_utils.h" | |
17 #include "testing/gmock/include/gmock/gmock.h" | 17 #include "testing/gmock/include/gmock/gmock.h" |
18 | 18 |
19 namespace net { | 19 namespace net { |
20 | 20 |
21 namespace test { | 21 namespace test { |
22 | 22 |
23 class MockSpdyFramerVisitor : public SpdyFramerVisitorInterface { | 23 class MockSpdyFramerVisitor : public SpdyFramerVisitorInterface { |
24 public: | 24 public: |
25 MockSpdyFramerVisitor(); | 25 MockSpdyFramerVisitor(); |
26 virtual ~MockSpdyFramerVisitor(); | 26 virtual ~MockSpdyFramerVisitor(); |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 } | 95 } |
96 | 96 |
97 std::unique_ptr<SpdyHeadersHandlerInterface> headers_handler_; | 97 std::unique_ptr<SpdyHeadersHandlerInterface> headers_handler_; |
98 }; | 98 }; |
99 | 99 |
100 } // namespace test | 100 } // namespace test |
101 | 101 |
102 } // namespace net | 102 } // namespace net |
103 | 103 |
104 #endif // NET_SPDY_MOCK_SPDY_FRAMER_VISITOR_H_ | 104 #endif // NET_SPDY_MOCK_SPDY_FRAMER_VISITOR_H_ |
OLD | NEW |