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

Side by Side Diff: net/curvecp/server_packetizer.cc

Issue 7037022: An initial curvecp implementation. This implementation is not complete, (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 7 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) 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 #include "net/curvecp/server_packetizer.h" 5 #include "net/curvecp/server_packetizer.h"
6 6
7 #include "net/base/io_buffer.h" 7 #include "net/base/io_buffer.h"
8 #include "net/base/net_errors.h" 8 #include "net/base/net_errors.h"
9 #include "net/curvecp/protocol.h" 9 #include "net/curvecp/protocol.h"
10 #include "net/udp/udp_server_socket.h" 10 #include "net/udp/udp_server_socket.h"
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 if (result > 0) 237 if (result > 0)
238 ProcessRead(result); 238 ProcessRead(result);
239 ReadPackets(); 239 ReadPackets();
240 } 240 }
241 241
242 void ServerPacketizer::OnWriteComplete(int result) { 242 void ServerPacketizer::OnWriteComplete(int result) {
243 // TODO(mbelshe): do we need to do anything? 243 // TODO(mbelshe): do we need to do anything?
244 } 244 }
245 245
246 } 246 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698