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

Side by Side Diff: net/tools/flip_server/http_interface.cc

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: Cleanup 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/tools/flip_server/http_interface.h" 5 #include "net/tools/flip_server/http_interface.h"
6 6
7 #include "net/tools/balsa/balsa_frame.h"
7 #include "net/tools/dump_cache/url_utilities.h" 8 #include "net/tools/dump_cache/url_utilities.h"
8 #include "net/tools/flip_server/balsa_frame.h"
9 #include "net/tools/flip_server/flip_config.h" 9 #include "net/tools/flip_server/flip_config.h"
10 #include "net/tools/flip_server/sm_connection.h" 10 #include "net/tools/flip_server/sm_connection.h"
11 #include "net/tools/flip_server/spdy_util.h" 11 #include "net/tools/flip_server/spdy_util.h"
12 12
13 namespace net { 13 namespace net {
14 14
15 HttpSM::HttpSM(SMConnection* connection, 15 HttpSM::HttpSM(SMConnection* connection,
16 SMInterface* sm_spdy_interface, 16 SMInterface* sm_spdy_interface,
17 MemoryCache* memory_cache, 17 MemoryCache* memory_cache,
18 FlipAcceptor* acceptor) 18 FlipAcceptor* acceptor)
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 SendDataFrame(mci->stream_id, 335 SendDataFrame(mci->stream_id,
336 mci->file_data->body().data() + mci->body_bytes_consumed, 336 mci->file_data->body().data() + mci->body_bytes_consumed,
337 num_to_write, 0, true); 337 num_to_write, 0, true);
338 VLOG(2) << ACCEPTOR_CLIENT_IDENT << "HttpSM: GetOutput SendDataFrame[" 338 VLOG(2) << ACCEPTOR_CLIENT_IDENT << "HttpSM: GetOutput SendDataFrame["
339 << mci->stream_id << "]: " << num_to_write; 339 << mci->stream_id << "]: " << num_to_write;
340 mci->body_bytes_consumed += num_to_write; 340 mci->body_bytes_consumed += num_to_write;
341 mci->bytes_sent += num_to_write; 341 mci->bytes_sent += num_to_write;
342 } 342 }
343 343
344 } // namespace net 344 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698