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

Side by Side Diff: net/spdy/chromium/header_coalescer.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
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 #ifndef NET_SPDY_HEADER_COALESCER_H_ 5 #ifndef NET_SPDY_HEADER_COALESCER_H_
6 #define NET_SPDY_HEADER_COALESCER_H_ 6 #define NET_SPDY_HEADER_COALESCER_H_
7 7
8 #include "net/base/net_export.h" 8 #include "net/base/net_export.h"
9 #include "net/spdy/core/spdy_header_block.h"
10 #include "net/spdy/core/spdy_headers_handler_interface.h"
9 #include "net/spdy/platform/api/spdy_string_piece.h" 11 #include "net/spdy/platform/api/spdy_string_piece.h"
10 #include "net/spdy/spdy_header_block.h"
11 #include "net/spdy/spdy_headers_handler_interface.h"
12 12
13 namespace net { 13 namespace net {
14 14
15 class NET_EXPORT_PRIVATE HeaderCoalescer : public SpdyHeadersHandlerInterface { 15 class NET_EXPORT_PRIVATE HeaderCoalescer : public SpdyHeadersHandlerInterface {
16 public: 16 public:
17 HeaderCoalescer() {} 17 HeaderCoalescer() {}
18 18
19 void OnHeaderBlockStart() override {} 19 void OnHeaderBlockStart() override {}
20 20
21 void OnHeader(SpdyStringPiece key, SpdyStringPiece value) override; 21 void OnHeader(SpdyStringPiece key, SpdyStringPiece value) override;
(...skipping 12 matching lines...) Expand all
34 SpdyHeaderBlock headers_; 34 SpdyHeaderBlock headers_;
35 bool headers_valid_ = true; 35 bool headers_valid_ = true;
36 size_t header_list_size_ = 0; 36 size_t header_list_size_ = 0;
37 bool error_seen_ = false; 37 bool error_seen_ = false;
38 bool regular_header_seen_ = false; 38 bool regular_header_seen_ = false;
39 }; 39 };
40 40
41 } // namespace net 41 } // namespace net
42 42
43 #endif // NET_SPDY_HEADER_COALESCER_H_ 43 #endif // NET_SPDY_HEADER_COALESCER_H_
OLDNEW
« no previous file with comments | « net/spdy/chromium/buffered_spdy_framer_unittest.cc ('k') | net/spdy/chromium/header_coalescer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698