Updating trunk VERSION from 1014.0 to 1015.0
[chromium-blink-merge.git] / net / base / ssl_config_service_defaults.h
blob9094db5e751458845eefb9fabb4183cf6ed8939a
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef NET_BASE_SSL_CONFIG_SERVICE_DEFAULTS_H_
6 #define NET_BASE_SSL_CONFIG_SERVICE_DEFAULTS_H_
7 #pragma once
9 #include "net/base/net_export.h"
10 #include "net/base/ssl_config_service.h"
12 namespace net {
14 // This SSLConfigService always returns the default SSLConfig settings. It is
15 // mainly useful for unittests, or for platforms that do not have a native
16 // implementation of SSLConfigService yet.
17 class NET_EXPORT SSLConfigServiceDefaults : public SSLConfigService {
18 public:
19 SSLConfigServiceDefaults();
21 // Store default SSL config settings in |config|.
22 virtual void GetSSLConfig(SSLConfig* config) OVERRIDE;
24 private:
25 virtual ~SSLConfigServiceDefaults();
27 // Default value of prefs.
28 const SSLConfig default_config_;
30 DISALLOW_COPY_AND_ASSIGN(SSLConfigServiceDefaults);
33 } // namespace net
35 #endif // NET_BASE_SSL_CONFIG_SERVICE_DEFAULTS_H_