mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 22:36:09 +03:00
25 lines
645 B
C++
25 lines
645 B
C++
|
// 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_ENABLED_BY_DEFAULT};
|
||
|
|
||
|
int Socket::ReadIfReady(IOBuffer* buf,
|
||
|
int buf_len,
|
||
|
CompletionOnceCallback callback) {
|
||
|
return ERR_READ_IF_READY_NOT_IMPLEMENTED;
|
||
|
}
|
||
|
|
||
|
int Socket::CancelReadIfReady() {
|
||
|
return ERR_READ_IF_READY_NOT_IMPLEMENTED;
|
||
|
}
|
||
|
|
||
|
} // namespace net
|