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

Side by Side Diff: net/curvecp/curvecp_client_socket.h

Issue 8831001: base::Bind: Convert Socket::Write. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix alignment. Created 9 years 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 #ifndef NET_CURVECP_CURVECP_CLIENT_SOCKET_H_ 5 #ifndef NET_CURVECP_CURVECP_CLIENT_SOCKET_H_
6 #define NET_CURVECP_CURVECP_CLIENT_SOCKET_H_ 6 #define NET_CURVECP_CURVECP_CLIENT_SOCKET_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "net/base/completion_callback.h" 10 #include "net/base/completion_callback.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 // Socket implementation. 44 // Socket implementation.
45 virtual int Read(IOBuffer* buf, 45 virtual int Read(IOBuffer* buf,
46 int buf_len, 46 int buf_len,
47 OldCompletionCallback* callback) OVERRIDE; 47 OldCompletionCallback* callback) OVERRIDE;
48 virtual int Read(IOBuffer* buf, 48 virtual int Read(IOBuffer* buf,
49 int buf_len, 49 int buf_len,
50 const CompletionCallback& callback) OVERRIDE; 50 const CompletionCallback& callback) OVERRIDE;
51 virtual int Write(IOBuffer* buf, 51 virtual int Write(IOBuffer* buf,
52 int buf_len, 52 int buf_len,
53 OldCompletionCallback* callback) OVERRIDE; 53 OldCompletionCallback* callback) OVERRIDE;
54 virtual int Write(IOBuffer* buf,
55 int buf_len,
56 const CompletionCallback& callback) OVERRIDE;
54 virtual bool SetReceiveBufferSize(int32 size) OVERRIDE; 57 virtual bool SetReceiveBufferSize(int32 size) OVERRIDE;
55 virtual bool SetSendBufferSize(int32 size) OVERRIDE; 58 virtual bool SetSendBufferSize(int32 size) OVERRIDE;
56 59
57 private: 60 private:
58 AddressList addresses_; 61 AddressList addresses_;
59 BoundNetLog net_log_; 62 BoundNetLog net_log_;
60 Messenger messenger_; 63 Messenger messenger_;
61 ClientPacketizer packetizer_; 64 ClientPacketizer packetizer_;
62 65
63 DISALLOW_COPY_AND_ASSIGN(CurveCPClientSocket); 66 DISALLOW_COPY_AND_ASSIGN(CurveCPClientSocket);
64 }; 67 };
65 68
66 } // namespace net 69 } // namespace net
67 70
68 #endif // NET_CURVECP_CURVECP_CLIENT_SOCKET_H_ 71 #endif // NET_CURVECP_CURVECP_CLIENT_SOCKET_H_
OLDNEW
« no previous file with comments | « jingle/notifier/base/proxy_resolving_client_socket.cc ('k') | net/curvecp/curvecp_client_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698