| Index: net/socket/socket.cc
|
| diff --git a/net/socket/socket.cc b/net/socket/socket.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4e9cf3fe031c4bf4d91edc928b844103af6b4446
|
| --- /dev/null
|
| +++ b/net/socket/socket.cc
|
| @@ -0,0 +1,20 @@
|
| +// Copyright 2017 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.
|
| +
|
| +#include "net/socket/socket.h"
|
| +
|
| +#include "net/base/net_errors.h"
|
| +
|
| +namespace net {
|
| +
|
| +const base::Feature Socket::kReadIfReadyExperiment{
|
| + "SocketReadIfReady", base::FEATURE_DISABLED_BY_DEFAULT};
|
| +
|
| +int Socket::ReadIfReady(IOBuffer* buf,
|
| + int buf_len,
|
| + const CompletionCallback& callback) {
|
| + return ERR_READ_IF_READY_NOT_IMPLEMENTED;
|
| +}
|
| +
|
| +} // namespace net
|
|
|