Index: net/base/ssl_cipher_suite_names.h |
=================================================================== |
--- net/base/ssl_cipher_suite_names.h (revision 85332) |
+++ net/base/ssl_cipher_suite_names.h (working copy) |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -7,6 +7,7 @@ |
#pragma once |
#include "base/basictypes.h" |
+#include "net/base/net_api.h" |
namespace net { |
@@ -16,20 +17,22 @@ |
// wire and recorded at |
// http://www.iana.org/assignments/tls-parameters/tls-parameters.xml |
// If the cipher suite is unknown, the strings are set to "???". |
-void SSLCipherSuiteToStrings(const char** key_exchange_str, |
- const char** cipher_str, const char** mac_str, |
- uint16 cipher_suite); |
+NET_API void SSLCipherSuiteToStrings(const char** key_exchange_str, |
+ const char** cipher_str, |
+ const char** mac_str, |
+ uint16 cipher_suite); |
// SSLCompressionToString returns the name of the compression algorithm |
// specified by |compression_method|, which is the TLS compression id. |
// If the algorithm is unknown, |name| is set to "???". |
-void SSLCompressionToString(const char** name, uint8 compression_method); |
+NET_API void SSLCompressionToString(const char** name, |
+ uint8 compression_method); |
// SSLVersionToString returns the name of the SSL protocol version |
// specified by |ssl_version|, which is defined in |
// net/base/ssl_connection_status_flags.h. |
// If the version is unknown, |name| is set to "???". |
-void SSLVersionToString(const char** name, int ssl_version); |
+NET_API void SSLVersionToString(const char** name, int ssl_version); |
} // namespace net |