Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(354)

Side by Side Diff: net/base/ssl_config_service_defaults.h

Issue 7529043: Rename NET_API to NET_EXPORT, and rename NET_TEST to NET_EXPORT_PRIVATE. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_BASE_SSL_CONFIG_SERVICE_DEFAULTS_H_ 5 #ifndef NET_BASE_SSL_CONFIG_SERVICE_DEFAULTS_H_
6 #define NET_BASE_SSL_CONFIG_SERVICE_DEFAULTS_H_ 6 #define NET_BASE_SSL_CONFIG_SERVICE_DEFAULTS_H_
7 #pragma once 7 #pragma once
8 8
9 #include "net/base/net_api.h" 9 #include "net/base/net_export.h"
10 #include "net/base/ssl_config_service.h" 10 #include "net/base/ssl_config_service.h"
11 11
12 namespace net { 12 namespace net {
13 13
14 // This SSLConfigService always returns the default SSLConfig settings. It is 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 15 // mainly useful for unittests, or for platforms that do not have a native
16 // implementation of SSLConfigService yet. 16 // implementation of SSLConfigService yet.
17 class NET_API SSLConfigServiceDefaults : public SSLConfigService { 17 class NET_EXPORT SSLConfigServiceDefaults : public SSLConfigService {
18 public: 18 public:
19 SSLConfigServiceDefaults(); 19 SSLConfigServiceDefaults();
20 20
21 // Store default SSL config settings in |config|. 21 // Store default SSL config settings in |config|.
22 virtual void GetSSLConfig(SSLConfig* config); 22 virtual void GetSSLConfig(SSLConfig* config);
23 23
24 private: 24 private:
25 virtual ~SSLConfigServiceDefaults(); 25 virtual ~SSLConfigServiceDefaults();
26 26
27 // Default value of prefs. 27 // Default value of prefs.
28 const SSLConfig default_config_; 28 const SSLConfig default_config_;
29 29
30 DISALLOW_COPY_AND_ASSIGN(SSLConfigServiceDefaults); 30 DISALLOW_COPY_AND_ASSIGN(SSLConfigServiceDefaults);
31 }; 31 };
32 32
33 } // namespace net 33 } // namespace net
34 34
35 #endif // NET_BASE_SSL_CONFIG_SERVICE_DEFAULTS_H_ 35 #endif // NET_BASE_SSL_CONFIG_SERVICE_DEFAULTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698