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

Unified Diff: net/socket/socket.h

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
Index: net/socket/socket.h
diff --git a/net/socket/socket.h b/net/socket/socket.h
index 5d9af81f20588d6e421b78c7598aa16755f9b1e8..cc2b0b09b5d24a5ed480adb2d7309616d3639160 100644
--- a/net/socket/socket.h
+++ b/net/socket/socket.h
@@ -28,7 +28,8 @@ class NET_EXPORT Socket {
// the provided buffer until the callback is invoked or the socket is
// closed. If the socket is Disconnected before the read completes, the
// callback will not be invoked.
- virtual int Read(IOBuffer* buf, int buf_len,
+ virtual int Read(IOBuffer* buf,
+ int buf_len,
const CompletionCallback& callback) = 0;
// Writes data, up to |buf_len| bytes, to the socket. Note: data may be
@@ -43,7 +44,8 @@ class NET_EXPORT Socket {
// closed. Implementations of this method should not modify the contents
// of the actual buffer that is written to the socket. If the socket is
// Disconnected before the write completes, the callback will not be invoked.
- virtual int Write(IOBuffer* buf, int buf_len,
+ virtual int Write(IOBuffer* buf,
+ int buf_len,
const CompletionCallback& callback) = 0;
// Set the receive buffer size (in bytes) for the socket.

Powered by Google App Engine
This is Rietveld 408576698