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

Side by Side Diff: net/curvecp/curvecp_server_socket.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/base/ip_endpoint.h" 5 #include "net/base/ip_endpoint.h"
6 #include "net/base/net_errors.h" 6 #include "net/base/net_errors.h"
7 #include "net/base/sys_addrinfo.h" 7 #include "net/base/sys_addrinfo.h"
8 #include "net/curvecp/curvecp_server_socket.h" 8 #include "net/curvecp/curvecp_server_socket.h"
9 #include "net/curvecp/messenger.h" 9 #include "net/curvecp/messenger.h"
10 10
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 CurveCPServerSocket* new_socket = 73 CurveCPServerSocket* new_socket =
74 new CurveCPServerSocket(key, 74 new CurveCPServerSocket(key,
75 packetizer_, 75 packetizer_,
76 net_log_.net_log(), 76 net_log_.net_log(),
77 NetLog::Source()); 77 NetLog::Source());
78 packetizer_->Open(key, new_socket->messenger()); 78 packetizer_->Open(key, new_socket->messenger());
79 acceptor_->OnAccept(new_socket); 79 acceptor_->OnAccept(new_socket);
80 } 80 }
81 81
82 } // namespace net 82 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698