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

Unified Diff: net/base/net_errors.h

Issue 761903003: Update from https://crrev.com/306655 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « net/base/mime_util.cc ('k') | net/base/net_errors_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/net_errors.h
diff --git a/net/base/net_errors.h b/net/base/net_errors.h
index 29b7742f72185294377359fa1a27c768e0e8c1cd..64343f1ca10d0bf8477efc6a2497c1ec759072d6 100644
--- a/net/base/net_errors.h
+++ b/net/base/net_errors.h
@@ -10,6 +10,7 @@
#include "base/basictypes.h"
#include "base/files/file.h"
+#include "base/logging.h"
#include "net/base/net_export.h"
namespace net {
@@ -45,7 +46,7 @@ NET_EXPORT bool IsCertificateError(int error);
NET_EXPORT bool IsClientCertificateError(int error);
// Map system error code to Error.
-NET_EXPORT Error MapSystemError(int os_error);
+NET_EXPORT Error MapSystemError(logging::SystemErrorCode 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/mime_util.cc ('k') | net/base/net_errors_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698