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

Side by Side Diff: net/tools/balsa/balsa_frame.h

Issue 25085002: Break out balsa and epoll_server from net/tools/flip_server. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « net/tools/balsa/balsa_enums.h ('k') | net/tools/balsa/balsa_frame.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_TOOLS_FLIP_SERVER_BALSA_FRAME_H_ 5 #ifndef NET_TOOLS_BALSA_BALSA_FRAME_H_
6 #define NET_TOOLS_FLIP_SERVER_BALSA_FRAME_H_ 6 #define NET_TOOLS_BALSA_BALSA_FRAME_H_
7 7
8 #include <strings.h> 8 #include <strings.h>
9 9
10 #include <utility> 10 #include <utility>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "base/port.h" 14 #include "base/port.h"
15 #include "net/tools/flip_server/balsa_enums.h" 15 #include "net/tools/balsa/balsa_enums.h"
16 #include "net/tools/flip_server/balsa_headers.h" 16 #include "net/tools/balsa/balsa_headers.h"
17 #include "net/tools/flip_server/balsa_visitor_interface.h" 17 #include "net/tools/balsa/balsa_visitor_interface.h"
18 #include "net/tools/flip_server/buffer_interface.h" 18 #include "net/tools/balsa/buffer_interface.h"
19 #include "net/tools/flip_server/http_message_constants.h" 19 #include "net/tools/balsa/http_message_constants.h"
20 #include "net/tools/flip_server/simple_buffer.h" 20 #include "net/tools/balsa/simple_buffer.h"
21 21
22 // For additional debug output, uncomment the following: 22 // For additional debug output, uncomment the following:
23 // #define DEBUGFRAMER 1 23 // #define DEBUGFRAMER 1
24 24
25 namespace net { 25 namespace net {
26 26
27 // BalsaFrame is a 'Model' of a framer (haha). 27 // BalsaFrame is a 'Model' of a framer (haha).
28 // It exists as a proof of concept headers framer. 28 // It exists as a proof of concept headers framer.
29 class BalsaFrame { 29 class BalsaFrame {
30 public: 30 public:
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 BalsaFrameEnums::ErrorCode last_error_; 254 BalsaFrameEnums::ErrorCode last_error_;
255 255
256 Lines lines_; 256 Lines lines_;
257 257
258 BalsaHeaders* headers_; // This is not reset to NULL in Reset(). 258 BalsaHeaders* headers_; // This is not reset to NULL in Reset().
259 DoNothingBalsaVisitor do_nothing_visitor_; 259 DoNothingBalsaVisitor do_nothing_visitor_;
260 }; 260 };
261 261
262 } // namespace net 262 } // namespace net
263 263
264 #endif // NET_TOOLS_FLIP_SERVER_BALSA_FRAME_H_ 264 #endif // NET_TOOLS_BALSA_BALSA_FRAME_H_
265 265
OLDNEW
« no previous file with comments | « net/tools/balsa/balsa_enums.h ('k') | net/tools/balsa/balsa_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698