Chromium Code Reviews| 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_ |