2015-09-21 16:43:32 +00:00
|
|
|
// Copyright (c) 2015 GitHub, Inc.
|
|
|
|
// Use of this source code is governed by the MIT license that can be
|
|
|
|
// found in the LICENSE file.
|
|
|
|
|
2015-11-17 11:05:38 +00:00
|
|
|
#ifndef ATOM_BROWSER_NET_ATOM_SSL_CONFIG_SERVICE_H_
|
|
|
|
#define ATOM_BROWSER_NET_ATOM_SSL_CONFIG_SERVICE_H_
|
2015-09-21 16:43:32 +00:00
|
|
|
|
|
|
|
#include "net/ssl/ssl_config_service.h"
|
|
|
|
|
|
|
|
namespace atom {
|
|
|
|
|
|
|
|
class AtomSSLConfigService : public net::SSLConfigService {
|
|
|
|
public:
|
|
|
|
AtomSSLConfigService();
|
|
|
|
~AtomSSLConfigService() override;
|
|
|
|
|
|
|
|
// net::SSLConfigService:
|
|
|
|
void GetSSLConfig(net::SSLConfig* config) override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
net::SSLConfig config_;
|
|
|
|
|
|
|
|
DISALLOW_COPY_AND_ASSIGN(AtomSSLConfigService);
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace atom
|
|
|
|
|
2015-11-17 11:05:38 +00:00
|
|
|
#endif // ATOM_BROWSER_NET_ATOM_SSL_CONFIG_SERVICE_H_
|