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

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

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 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
« no previous file with comments | « net/socket/ssl_client_socket.cc ('k') | net/socket/ssl_client_socket_nss.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_CLIENT_SOCKET_NSS_H_ 5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_
6 #define NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_ 6 #define NET_SOCKET_SSL_CLIENT_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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 void AddConnectionAttempts(const ConnectionAttempts& attempts) override {} 87 void AddConnectionAttempts(const ConnectionAttempts& attempts) override {}
88 int64_t GetTotalReceivedBytes() const override; 88 int64_t GetTotalReceivedBytes() const override;
89 89
90 // Socket implementation. 90 // Socket implementation.
91 int Read(IOBuffer* buf, 91 int Read(IOBuffer* buf,
92 int buf_len, 92 int buf_len,
93 const CompletionCallback& callback) override; 93 const CompletionCallback& callback) override;
94 int Write(IOBuffer* buf, 94 int Write(IOBuffer* buf,
95 int buf_len, 95 int buf_len,
96 const CompletionCallback& callback) override; 96 const CompletionCallback& callback) override;
97 int SetReceiveBufferSize(int32 size) override; 97 int SetReceiveBufferSize(int32_t size) override;
98 int SetSendBufferSize(int32 size) override; 98 int SetSendBufferSize(int32_t size) override;
99 99
100 // SSLClientSocket implementation. 100 // SSLClientSocket implementation.
101 ChannelIDService* GetChannelIDService() const override; 101 ChannelIDService* GetChannelIDService() const override;
102 SSLFailureState GetSSLFailureState() const override; 102 SSLFailureState GetSSLFailureState() const override;
103 103
104 private: 104 private:
105 // Helper class to handle marshalling any NSS interaction to and from the 105 // Helper class to handle marshalling any NSS interaction to and from the
106 // NSS and network task runners. Not every call needs to happen on the Core 106 // NSS and network task runners. Not every call needs to happen on the Core
107 class Core; 107 class Core;
108 108
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 // Added the following code Debugging in release mode. 208 // Added the following code Debugging in release mode.
209 mutable base::Lock lock_; 209 mutable base::Lock lock_;
210 // This is mutable so that CalledOnValidThread can set it. 210 // This is mutable so that CalledOnValidThread can set it.
211 // It's guarded by |lock_|. 211 // It's guarded by |lock_|.
212 mutable base::PlatformThreadId valid_thread_id_; 212 mutable base::PlatformThreadId valid_thread_id_;
213 }; 213 };
214 214
215 } // namespace net 215 } // namespace net
216 216
217 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_ 217 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_
OLDNEW
« no previous file with comments | « net/socket/ssl_client_socket.cc ('k') | net/socket/ssl_client_socket_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698