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

Side by Side Diff: net/base/net_error_list.h

Issue 2593063003: Add Socket::ReadIfReady() (Closed)
Patch Set: Fix tests for real 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file intentionally does not have header guards, it's included 5 // This file intentionally does not have header guards, it's included
6 // inside a macro to generate enum values. 6 // inside a macro to generate enum values.
7 7
8 // This file contains the list of network errors. 8 // This file contains the list of network errors.
9 9
10 // 10 //
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 // The SSL server required an unsupported cipher suite that has since been 379 // The SSL server required an unsupported cipher suite that has since been
380 // removed. This error will temporarily be signaled on a fallback for one or two 380 // removed. This error will temporarily be signaled on a fallback for one or two
381 // releases immediately following a cipher suite's removal, after which the 381 // releases immediately following a cipher suite's removal, after which the
382 // fallback will be removed. 382 // fallback will be removed.
383 NET_ERROR(SSL_OBSOLETE_CIPHER, -172) 383 NET_ERROR(SSL_OBSOLETE_CIPHER, -172)
384 384
385 // When a WebSocket handshake is done successfully and the connection has been 385 // When a WebSocket handshake is done successfully and the connection has been
386 // upgraded, the URLRequest is cancelled with this error code. 386 // upgraded, the URLRequest is cancelled with this error code.
387 NET_ERROR(WS_UPGRADE, -173) 387 NET_ERROR(WS_UPGRADE, -173)
388 388
389 // Socket "read if ready" support is not implemented.
davidben 2017/02/01 22:25:57 Unreasonably nitpicky nitpick: I'd maybe say ReadI
xunjieli 2017/02/03 16:35:33 Done.
390 NET_ERROR(READ_IF_READY_NOT_IMPLEMENTED, -174)
391
389 // Certificate error codes 392 // Certificate error codes
390 // 393 //
391 // The values of certificate error codes must be consecutive. 394 // The values of certificate error codes must be consecutive.
392 395
393 // The server responded with a certificate whose common name did not match 396 // The server responded with a certificate whose common name did not match
394 // the host name. This could mean: 397 // the host name. This could mean:
395 // 398 //
396 // 1. An attacker has redirected our traffic to their server and is 399 // 1. An attacker has redirected our traffic to their server and is
397 // presenting a certificate for which they know the private key. 400 // presenting a certificate for which they know the private key.
398 // 401 //
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
851 NET_ERROR(DNS_TIMED_OUT, -803) 854 NET_ERROR(DNS_TIMED_OUT, -803)
852 855
853 // The entry was not found in cache, for cache-only lookups. 856 // The entry was not found in cache, for cache-only lookups.
854 NET_ERROR(DNS_CACHE_MISS, -804) 857 NET_ERROR(DNS_CACHE_MISS, -804)
855 858
856 // Suffix search list rules prevent resolution of the given host name. 859 // Suffix search list rules prevent resolution of the given host name.
857 NET_ERROR(DNS_SEARCH_EMPTY, -805) 860 NET_ERROR(DNS_SEARCH_EMPTY, -805)
858 861
859 // Failed to sort addresses according to RFC3484. 862 // Failed to sort addresses according to RFC3484.
860 NET_ERROR(DNS_SORT_ERROR, -806) 863 NET_ERROR(DNS_SORT_ERROR, -806)
OLDNEW
« no previous file with comments | « net/BUILD.gn ('k') | net/socket/socket.h » ('j') | net/socket/socket.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698