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

Unified Diff: net/base/net_errors.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/net_errors.h
===================================================================
--- net/base/net_errors.h (revision 95949)
+++ net/base/net_errors.h (working copy)
@@ -9,12 +9,12 @@
#include <vector>
#include "base/basictypes.h"
-#include "net/base/net_api.h"
+#include "net/base/net_export.h"
namespace net {
// Error domain of the net module's error codes.
-NET_API extern const char kErrorDomain[];
+NET_EXPORT extern const char kErrorDomain[];
// Error values are negative.
enum Error {
@@ -30,7 +30,7 @@
};
// Returns a textual representation of the error code for logging purposes.
-NET_API const char* ErrorToString(int error);
+NET_EXPORT const char* ErrorToString(int error);
// Returns true if |error| is a certificate error code.
inline bool IsCertificateError(int error) {
@@ -40,7 +40,7 @@
}
// Map system error code to Error.
-NET_API Error MapSystemError(int os_error);
+NET_EXPORT Error MapSystemError(int os_error);
// Returns a list of all the possible net error codes (not counting OK). This
// is intended for use with UMA histograms that are reporting the result of
« no previous file with comments | « net/base/net_api.h ('k') | net/base/net_export.h » ('j') | net/base/net_export.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698