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

Unified Diff: dart/runtime/bin/net/nss_memio.h

Issue 574443002: Update NSS to 3.16.4. Updated to Chromium's copy of NSS at revision 291806 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 6 years, 3 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 | « dart/runtime/bin/net/nss.gyp ('k') | dart/runtime/bin/net/nss_memio.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/runtime/bin/net/nss_memio.h
===================================================================
--- dart/runtime/bin/net/nss_memio.h (revision 40429)
+++ dart/runtime/bin/net/nss_memio.h (working copy)
@@ -9,7 +9,7 @@
// This file is a modified copy of Chromium's src/net/base/nss_memio.h.
// char* has been changed to uint8_t* everywhere, and C++ casts are used.
-// Revision 257452 (this should agree with "nss_rev" in DEPS).
+// Revision 291806 (this should agree with "nss_rev" in DEPS).
#ifndef BIN_NET_NSS_MEMIO_H_
#define BIN_NET_NSS_MEMIO_H_
@@ -88,12 +88,13 @@
void memio_PutReadResult(memio_Private *secret, int bytes_read);
/* Ask memio what data it has to send to the network.
- * Returns up to two buffers of data by writing the positions and lengths into
- * |buf1|, |len1| and |buf2|, |len2|.
+ * If there was previous a write error, the NSPR error code is returned.
+ * Otherwise, it returns 0 and provides up to two buffers of data by
+ * writing the positions and lengths into |buf1|, |len1| and |buf2|, |len2|.
*/
-void memio_GetWriteParams(memio_Private *secret,
- const uint8_t **buf1, unsigned int *len1,
- const uint8_t **buf2, unsigned int *len2);
+int memio_GetWriteParams(memio_Private *secret,
+ const uint8_t **buf1, unsigned int *len1,
+ const uint8_t **buf2, unsigned int *len2);
/* Tell memio how many bytes were sent to the network.
* If bytes_written is < 0, it is treated as an NSPR error code.
« no previous file with comments | « dart/runtime/bin/net/nss.gyp ('k') | dart/runtime/bin/net/nss_memio.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698