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

Unified Diff: net/base/iovec.h

Issue 14651009: Land Recent QUIC changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix integer constant is too large for 'unsigned long' type Created 7 years, 7 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 | « android_webview/tools/third_party_files_whitelist.txt ('k') | net/net.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/iovec.h
diff --git a/net/base/iovec.h b/net/base/iovec.h
new file mode 100644
index 0000000000000000000000000000000000000000..f1a85e3b53cfe3c84b4999ff1cbdfd9c727ebabf
--- /dev/null
+++ b/net/base/iovec.h
@@ -0,0 +1,18 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef NET_BASE_IOVEC_H_
+#define NET_BASE_IOVEC_H_
+
+#if defined(OS_POSIX)
+#include <sys/uio.h>
+#else
+/* Structure for scatter/gather I/O. */
+struct iovec {
+ void* iov_base; /* Pointer to data. */
+ size_t iov_len; /* Length of data. */
+};
+#endif // defined(OS_LINUX)
+
+#endif // NET_BASE_IOVEC_H_
« no previous file with comments | « android_webview/tools/third_party_files_whitelist.txt ('k') | net/net.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698