| 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
|
|
|