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

Unified Diff: net/socket/ssl_client_socket_nss.h

Issue 10749009: Switch the NSS thread from being a base::Thread to a base::SequencedWorkerPool of 1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove suppression Created 8 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/socket/client_socket_factory.cc ('k') | net/socket/ssl_client_socket_nss.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/ssl_client_socket_nss.h
diff --git a/net/socket/ssl_client_socket_nss.h b/net/socket/ssl_client_socket_nss.h
index 204b1cb382fa38556c3aebaab1ebe8e2b1c48a2e..12c9186f0af7bb971bba5b1695b04a1fc64e22b8 100644
--- a/net/socket/ssl_client_socket_nss.h
+++ b/net/socket/ssl_client_socket_nss.h
@@ -31,7 +31,7 @@
#include "net/socket/ssl_client_socket.h"
namespace base {
-class SingleThreadTaskRunner;
+class SequencedTaskRunner;
}
namespace net {
@@ -59,7 +59,7 @@ class SSLClientSocketNSS : public SSLClientSocket {
// NSS may optionally be run on a dedicated thread. If synchronous/blocking
// behaviour is desired, for performance or compatibility, the current task
// runner should be supplied instead.
- SSLClientSocketNSS(base::SingleThreadTaskRunner* nss_task_runner,
+ SSLClientSocketNSS(base::SequencedTaskRunner* nss_task_runner,
ClientSocketHandle* transport_socket,
const HostPortPair& host_and_port,
const SSLConfig& ssl_config,
@@ -145,7 +145,7 @@ class SSLClientSocketNSS : public SSLClientSocket {
bool CalledOnValidThread() const;
// The task runner used to perform NSS operations.
- scoped_refptr<base::SingleThreadTaskRunner> nss_task_runner_;
+ scoped_refptr<base::SequencedTaskRunner> nss_task_runner_;
scoped_ptr<ClientSocketHandle> transport_;
HostPortPair host_and_port_;
SSLConfig ssl_config_;
« no previous file with comments | « net/socket/client_socket_factory.cc ('k') | net/socket/ssl_client_socket_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698