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

Side by Side Diff: net/socket/socket.cc

Issue 2593063003: Add Socket::ReadIfReady() (Closed)
Patch Set: Self Created 3 years, 10 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
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,
15 int buf_len,
16 const CompletionCallback& callback) {
17 return ERR_READ_IF_READY_NOT_IMPLEMENTED;
18 }
19
20 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698