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

Unified Diff: net/base/nss_memio.h

Issue 337823002: Stop attempting to write to transport sockets in NSS on failure. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rsleevi comments Created 6 years, 6 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
« no previous file with comments | « no previous file | net/base/nss_memio.c » ('j') | net/socket/ssl_client_socket_nss.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/nss_memio.h
diff --git a/net/base/nss_memio.h b/net/base/nss_memio.h
index 8481d15e7a74e207c39762a5d96301cc119ad484..4fa364837f245e74cbf286b32509fdcd59719129 100644
--- a/net/base/nss_memio.h
+++ b/net/base/nss_memio.h
@@ -94,6 +94,11 @@ void memio_GetWriteParams(memio_Private *secret,
*/
void memio_PutWriteResult(memio_Private *secret, int bytes_written);
+/* Returns the last saved write error from memio_PutWriteResult or 0 if there
+ * has been no error.
wtc 2014/06/17 18:24:06 Please clarify that the error is an NSPR error cod
davidben 2014/06/17 20:27:43 Squashed into memio_GetWriteParams and clarified t
+ */
+int memio_LastWriteError(memio_Private *secret);
+
#ifdef __cplusplus
}
#endif
« no previous file with comments | « no previous file | net/base/nss_memio.c » ('j') | net/socket/ssl_client_socket_nss.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698