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

Side by Side Diff: net/spdy/core/spdy_no_op_visitor.h

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
« no previous file with comments | « net/spdy/core/spdy_headers_handler_interface.h ('k') | net/spdy/core/spdy_no_op_visitor.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) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2016 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 // SpdyNoOpVisitor implements several of the visitor and handler interfaces 5 // SpdyNoOpVisitor implements several of the visitor and handler interfaces
6 // to make it easier to write tests that need to provide instances. Other 6 // to make it easier to write tests that need to provide instances. Other
7 // interfaces can be added as needed. 7 // interfaces can be added as needed.
8 8
9 #ifndef NET_SPDY_SPDY_NO_OP_VISITOR_H_ 9 #ifndef NET_SPDY_SPDY_NO_OP_VISITOR_H_
10 #define NET_SPDY_SPDY_NO_OP_VISITOR_H_ 10 #define NET_SPDY_SPDY_NO_OP_VISITOR_H_
11 11
12 #include <cstdint> 12 #include <cstdint>
13 13
14 #include "net/spdy/core/spdy_framer.h"
15 #include "net/spdy/core/spdy_protocol.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_protocol.h"
17 17
18 namespace net { 18 namespace net {
19 namespace test { 19 namespace test {
20 20
21 class SpdyNoOpVisitor : public SpdyFramerVisitorInterface, 21 class SpdyNoOpVisitor : public SpdyFramerVisitorInterface,
22 public SpdyFramerDebugVisitorInterface, 22 public SpdyFramerDebugVisitorInterface,
23 public SpdyHeadersHandlerInterface { 23 public SpdyHeadersHandlerInterface {
24 public: 24 public:
25 SpdyNoOpVisitor(); 25 SpdyNoOpVisitor();
26 ~SpdyNoOpVisitor() override; 26 ~SpdyNoOpVisitor() override;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 void OnHeader(SpdyStringPiece key, SpdyStringPiece value) override {} 81 void OnHeader(SpdyStringPiece key, SpdyStringPiece value) override {}
82 void OnHeaderBlockEnd(size_t uncompressed_header_bytes) override {} 82 void OnHeaderBlockEnd(size_t uncompressed_header_bytes) override {}
83 void OnHeaderBlockEnd(size_t /* uncompressed_header_bytes */, 83 void OnHeaderBlockEnd(size_t /* uncompressed_header_bytes */,
84 size_t /* compressed_header_bytes */) override {} 84 size_t /* compressed_header_bytes */) override {}
85 }; 85 };
86 86
87 } // namespace test 87 } // namespace test
88 } // namespace net 88 } // namespace net
89 89
90 #endif // NET_SPDY_SPDY_NO_OP_VISITOR_H_ 90 #endif // NET_SPDY_SPDY_NO_OP_VISITOR_H_
OLDNEW
« no previous file with comments | « net/spdy/core/spdy_headers_handler_interface.h ('k') | net/spdy/core/spdy_no_op_visitor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698