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

Side by Side Diff: net/socket/ssl_server_socket_nss.h

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_SOCKET_SSL_SERVER_SOCKET_NSS_H_ 5 #ifndef NET_SOCKET_SSL_SERVER_SOCKET_NSS_H_
6 #define NET_SOCKET_SSL_SERVER_SOCKET_NSS_H_ 6 #define NET_SOCKET_SSL_SERVER_SOCKET_NSS_H_
7 7
8 #include <certt.h> 8 #include <certt.h>
9 #include <keyt.h> 9 #include <keyt.h>
10 #include <nspr.h> 10 #include <nspr.h>
(...skipping 24 matching lines...) Expand all
35 35
36 // SSLSocket interface. 36 // SSLSocket interface.
37 virtual int ExportKeyingMaterial(const base::StringPiece& label, 37 virtual int ExportKeyingMaterial(const base::StringPiece& label,
38 bool has_context, 38 bool has_context,
39 const base::StringPiece& context, 39 const base::StringPiece& context,
40 unsigned char* out, 40 unsigned char* out,
41 unsigned int outlen) OVERRIDE; 41 unsigned int outlen) OVERRIDE;
42 virtual int GetTLSUniqueChannelBinding(std::string* out) OVERRIDE; 42 virtual int GetTLSUniqueChannelBinding(std::string* out) OVERRIDE;
43 43
44 // Socket interface (via StreamSocket). 44 // Socket interface (via StreamSocket).
45 virtual int Read(IOBuffer* buf, int buf_len, 45 virtual int Read(IOBuffer* buf,
46 int buf_len,
46 const CompletionCallback& callback) OVERRIDE; 47 const CompletionCallback& callback) OVERRIDE;
47 virtual int Write(IOBuffer* buf, int buf_len, 48 virtual int Write(IOBuffer* buf,
49 int buf_len,
48 const CompletionCallback& callback) OVERRIDE; 50 const CompletionCallback& callback) OVERRIDE;
49 virtual int SetReceiveBufferSize(int32 size) OVERRIDE; 51 virtual int SetReceiveBufferSize(int32 size) OVERRIDE;
50 virtual int SetSendBufferSize(int32 size) OVERRIDE; 52 virtual int SetSendBufferSize(int32 size) OVERRIDE;
51 53
52 // StreamSocket implementation. 54 // StreamSocket implementation.
53 virtual int Connect(const CompletionCallback& callback) OVERRIDE; 55 virtual int Connect(const CompletionCallback& callback) OVERRIDE;
54 virtual void Disconnect() OVERRIDE; 56 virtual void Disconnect() OVERRIDE;
55 virtual bool IsConnected() const OVERRIDE; 57 virtual bool IsConnected() const OVERRIDE;
56 virtual bool IsConnectedAndIdle() const OVERRIDE; 58 virtual bool IsConnectedAndIdle() const OVERRIDE;
57 virtual int GetPeerAddress(IPEndPoint* address) const OVERRIDE; 59 virtual int GetPeerAddress(IPEndPoint* address) const OVERRIDE;
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 143
142 State next_handshake_state_; 144 State next_handshake_state_;
143 bool completed_handshake_; 145 bool completed_handshake_;
144 146
145 DISALLOW_COPY_AND_ASSIGN(SSLServerSocketNSS); 147 DISALLOW_COPY_AND_ASSIGN(SSLServerSocketNSS);
146 }; 148 };
147 149
148 } // namespace net 150 } // namespace net
149 151
150 #endif // NET_SOCKET_SSL_SERVER_SOCKET_NSS_H_ 152 #endif // NET_SOCKET_SSL_SERVER_SOCKET_NSS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698