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

Unified Diff: net/base/net_errors.h

Issue 760703002: Fix "value possibly truncated" warnings on MSVC, net/base edition. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile Created 6 years, 1 month 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
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

Powered by Google App Engine
This is Rietveld 408576698