Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
|
Bence
2017/03/03 16:33:40
It seems to me that this patch was created already
xunjieli
2017/03/03 19:41:05
Done.
| |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "net/socket/socket.h" | |
| 6 | |
| 7 #include "net/base/net_errors.h" | |
| 8 | |
| 9 namespace net { | |
| 10 | |
| 11 const base::Feature Socket::kReadIfReadyExperiment{ | |
| 12 "SocketReadIfReady", base::FEATURE_DISABLED_BY_DEFAULT}; | |
| 13 | |
| 14 int Socket::ReadIfReady(IOBuffer* buf, | |
|
Bence
2017/03/03 16:33:40
Every other method in this class is pure virtual.
xunjieli
2017/03/03 19:41:05
No, we are keeping the default implementation. I d
Bence
2017/03/06 23:43:14
No for inlining. I believe Chromium enforces that
| |
| 15 int buf_len, | |
| 16 const CompletionCallback& callback) { | |
| 17 return ERR_READ_IF_READY_NOT_IMPLEMENTED; | |
| 18 } | |
| 19 | |
| 20 } // namespace net | |
| OLD | NEW |