| Index: components/ssl_config/ssl_config_service_manager.h
|
| diff --git a/chrome/browser/net/ssl_config_service_manager.h b/components/ssl_config/ssl_config_service_manager.h
|
| similarity index 70%
|
| rename from chrome/browser/net/ssl_config_service_manager.h
|
| rename to components/ssl_config/ssl_config_service_manager.h
|
| index 85185c6f425ea115e86062b073d70ddc4e81d0e8..30bc1c089590c6355212c7d1e7bf791608df9442 100644
|
| --- a/chrome/browser/net/ssl_config_service_manager.h
|
| +++ b/components/ssl_config/ssl_config_service_manager.h
|
| @@ -2,8 +2,14 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CHROME_BROWSER_NET_SSL_CONFIG_SERVICE_MANAGER_H_
|
| -#define CHROME_BROWSER_NET_SSL_CONFIG_SERVICE_MANAGER_H_
|
| +#ifndef COMPONENTS_SSL_CONFIG_SSL_CONFIG_SERVICE_MANAGER_H_
|
| +#define COMPONENTS_SSL_CONFIG_SSL_CONFIG_SERVICE_MANAGER_H_
|
| +
|
| +#include "base/memory/ref_counted.h"
|
| +
|
| +namespace base {
|
| +class SingleThreadTaskRunner;
|
| +}
|
|
|
| namespace net {
|
| class SSLConfigService;
|
| @@ -12,6 +18,8 @@ class SSLConfigService;
|
| class PrefService;
|
| class PrefRegistrySimple;
|
|
|
| +namespace ssl_config {
|
| +
|
| // An interface for creating SSLConfigService objects.
|
| class SSLConfigServiceManager {
|
| public:
|
| @@ -19,7 +27,8 @@ class SSLConfigServiceManager {
|
| // PrefService objects must be longer than that of the manager. Get SSL
|
| // preferences from local_state object.
|
| static SSLConfigServiceManager* CreateDefaultManager(
|
| - PrefService* local_state);
|
| + PrefService* local_state,
|
| + const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner);
|
|
|
| static void RegisterPrefs(PrefRegistrySimple* registry);
|
|
|
| @@ -32,4 +41,5 @@ class SSLConfigServiceManager {
|
| virtual net::SSLConfigService* Get() = 0;
|
| };
|
|
|
| -#endif // CHROME_BROWSER_NET_SSL_CONFIG_SERVICE_MANAGER_H_
|
| +} // namespace ssl_config
|
| +#endif // COMPONENTS_SSL_CONFIG_SSL_CONFIG_SERVICE_MANAGER_H_
|
|
|