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

Unified Diff: net/ssl/threaded_ssl_private_key.h

Issue 2103883004: Remove dependency of SSLPlatformKeyTaskRunner on single-threaded SequencedWorkerPool. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a2_hook
Patch Set: fix fwd-decls Created 4 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/ssl/ssl_platform_key_task_runner.cc ('k') | net/ssl/threaded_ssl_private_key.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ssl/threaded_ssl_private_key.h
diff --git a/net/ssl/threaded_ssl_private_key.h b/net/ssl/threaded_ssl_private_key.h
index c2fe2282a1525af44ccc64fed9c864adb2472e2e..e2f79aa0b6be8dfb08c4438242067bfab73d531c 100644
--- a/net/ssl/threaded_ssl_private_key.h
+++ b/net/ssl/threaded_ssl_private_key.h
@@ -18,7 +18,7 @@
#include "net/ssl/ssl_private_key.h"
namespace base {
-class TaskRunner;
+class SingleThreadTaskRunner;
}
namespace net {
@@ -52,8 +52,9 @@ class ThreadedSSLPrivateKey : public SSLPrivateKey {
DISALLOW_COPY_AND_ASSIGN(Delegate);
};
- ThreadedSSLPrivateKey(std::unique_ptr<Delegate> delegate,
- scoped_refptr<base::TaskRunner> task_runner);
+ ThreadedSSLPrivateKey(
+ std::unique_ptr<Delegate> delegate,
+ scoped_refptr<base::SingleThreadTaskRunner> task_runner);
// SSLPrivateKey implementation.
Type GetType() override;
@@ -68,7 +69,7 @@ class ThreadedSSLPrivateKey : public SSLPrivateKey {
class Core;
scoped_refptr<Core> core_;
- scoped_refptr<base::TaskRunner> task_runner_;
+ scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
base::WeakPtrFactory<ThreadedSSLPrivateKey> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(ThreadedSSLPrivateKey);
« no previous file with comments | « net/ssl/ssl_platform_key_task_runner.cc ('k') | net/ssl/threaded_ssl_private_key.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698