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

Side by Side Diff: net/curvecp/client_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/client_packetizer.h" 5 #include "net/curvecp/client_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/base/sys_addrinfo.h" 9 #include "net/base/sys_addrinfo.h"
10 #include "net/curvecp/protocol.h" 10 #include "net/curvecp/protocol.h"
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 return rv; 376 return rv;
377 } 377 }
378 378
379 void ClientPacketizer::OnIOComplete(int result) { 379 void ClientPacketizer::OnIOComplete(int result) {
380 int rv = DoLoop(result); 380 int rv = DoLoop(result);
381 if (rv != ERR_IO_PENDING) 381 if (rv != ERR_IO_PENDING)
382 DoCallback(rv); 382 DoCallback(rv);
383 } 383 }
384 384
385 } // namespace net 385 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698