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

Unified Diff: net/base/ssl_cipher_suite_names.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 side-by-side diff with in-line comments
Download patch
Index: net/base/ssl_cipher_suite_names.h
===================================================================
--- net/base/ssl_cipher_suite_names.h (revision 95949)
+++ net/base/ssl_cipher_suite_names.h (working copy)
@@ -9,7 +9,7 @@
#include <string>
#include "base/basictypes.h"
-#include "net/base/net_api.h"
+#include "net/base/net_export.h"
namespace net {
@@ -19,22 +19,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 "???".
-NET_API void SSLCipherSuiteToStrings(const char** key_exchange_str,
- const char** cipher_str,
- const char** mac_str,
- uint16 cipher_suite);
+NET_EXPORT 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 "???".
-NET_API void SSLCompressionToString(const char** name,
- uint8 compression_method);
+NET_EXPORT 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 "???".
-NET_API void SSLVersionToString(const char** name, int ssl_version);
+NET_EXPORT void SSLVersionToString(const char** name, int ssl_version);
// Parses a string literal that represents a SSL/TLS cipher suite.
//
@@ -48,8 +48,8 @@
//
// TODO(rsleevi): Support the full strings defined in the IANA TLS parameters
// list.
-NET_API bool ParseSSLCipherString(const std::string& cipher_string,
- uint16* cipher_suite);
+NET_EXPORT bool ParseSSLCipherString(const std::string& cipher_string,
+ uint16* cipher_suite);
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698