summaryrefslogtreecommitdiffstats
path: root/net/base/ssl_config_service.h
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-18 18:29:36 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-18 18:29:36 +0000
commit13677b86fc97aeab327e476c7de42bc777a54ee4 (patch)
tree5e2682e91c0d09d63a6a54e36d9996fef5528e8d /net/base/ssl_config_service.h
parentd929a9dfff856658662a962fd4dabed66d1e0b2f (diff)
downloadchromium_src-13677b86fc97aeab327e476c7de42bc777a54ee4.zip
chromium_src-13677b86fc97aeab327e476c7de42bc777a54ee4.tar.gz
chromium_src-13677b86fc97aeab327e476c7de42bc777a54ee4.tar.bz2
net: Add NET_API to net/base
BUG=76997 TEST=NONE Review URL: http://codereview.chromium.org/6969077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85785 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/ssl_config_service.h')
-rw-r--r--net/base/ssl_config_service.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/net/base/ssl_config_service.h b/net/base/ssl_config_service.h
index 04af2fc..714d7b7 100644
--- a/net/base/ssl_config_service.h
+++ b/net/base/ssl_config_service.h
@@ -11,12 +11,13 @@
#include "base/basictypes.h"
#include "base/memory/ref_counted.h"
#include "base/observer_list.h"
+#include "net/base/net_api.h"
#include "net/base/x509_certificate.h"
namespace net {
// A collection of SSL-related configuration settings.
-struct SSLConfig {
+struct NET_API SSLConfig {
// Default to revocation checking.
// Default to SSL 3.0 on and TLS 1.0 on.
SSLConfig();
@@ -62,7 +63,7 @@ struct SSLConfig {
// TODO(wtc): move the following members to a new SSLParams structure. They
// are not SSL configuration settings.
- struct CertAndStatus {
+ struct NET_API CertAndStatus {
CertAndStatus();
~CertAndStatus();
@@ -99,10 +100,11 @@ struct SSLConfig {
// does not cover setting the SSL configuration, as on some systems, the
// SSLConfigService objects may not have direct access to the configuration, or
// live longer than the configuration preferences.
-class SSLConfigService : public base::RefCountedThreadSafe<SSLConfigService> {
+class NET_API SSLConfigService
+ : public base::RefCountedThreadSafe<SSLConfigService> {
public:
// Observer is notified when SSL config settings have changed.
- class Observer {
+ class NET_API Observer {
public:
// Notify observers if SSL settings have changed. We don't check all of the
// data in SSLConfig, just those that qualify as a user config change.