diff options
Diffstat (limited to 'net/base/net_errors.h')
-rw-r--r-- | net/base/net_errors.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/base/net_errors.h b/net/base/net_errors.h index a12813d..761c2d2 100644 --- a/net/base/net_errors.h +++ b/net/base/net_errors.h @@ -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 @@ enum Error { }; // 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 @@ inline bool IsCertificateError(int error) { } // 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 |