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

Unified Diff: net/ssl/ssl_platform_key_task_runner.h

Issue 1304143010: Plumbing SSLPrivateKey Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 3 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
Index: net/ssl/ssl_platform_key_task_runner.h
diff --git a/net/ssl/ssl_platform_key_task_runner.h b/net/ssl/ssl_platform_key_task_runner.h
new file mode 100644
index 0000000000000000000000000000000000000000..a0eb171e638d414be49242a151c8605081b86d4a
--- /dev/null
+++ b/net/ssl/ssl_platform_key_task_runner.h
@@ -0,0 +1,26 @@
+// Copyright (c) 2015 The Chromium Authors. All rights reserved.
davidben 2015/09/25 20:10:12 Some of the older files still have the (c) sign, b
svaldez 2015/09/28 16:54:53 Done.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef NET_SSL_SSL_PLATFORM_KEY_TASK_RUNNER_H_
+#define NET_SSL_SSL_PLATFORM_KEY_TASK_RUNNER_H_
+
+#include "base/threading/sequenced_worker_pool.h"
+
+namespace net {
davidben 2015/09/25 20:10:12 Nit: newline
svaldez 2015/09/28 16:54:53 Done.
+class SSLPlatformKeyTaskRunner {
+ public:
+ SSLPlatformKeyTaskRunner();
+ ~SSLPlatformKeyTaskRunner();
davidben 2015/09/25 20:10:12 Rather than have everyone do a LazyInstance, perha
svaldez 2015/09/28 16:54:53 Done.
+
+ scoped_refptr<base::SequencedTaskRunner> task_runner();
+
+ private:
+ scoped_refptr<base::SequencedWorkerPool> worker_pool_;
+ scoped_refptr<base::SequencedTaskRunner> task_runner_;
+
+ DISALLOW_COPY_AND_ASSIGN(SSLPlatformKeyTaskRunner);
+};
davidben 2015/09/25 20:10:12 Nit: newline
svaldez 2015/09/28 16:54:53 Done.
+} // namespace net
+
+#endif // NET_SSL_SSL_PLATFORM_KEY_TASK_RUNNER_H_

Powered by Google App Engine
This is Rietveld 408576698