[Editorial] Fix some typos in net/
This change fixes some misspellings in code comments in net/. Change-Id: I787ae3fd20cded7a9c52cd1cc07b71d0b5d4123d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6179032 Commit-Queue: Kenichi Ishibashi <bashi@chromium.org> Reviewed-by: Kenichi Ishibashi <bashi@chromium.org> Auto-Submit: Nidhi Jaju <nidhijaju@chromium.org> Commit-Queue: Nidhi Jaju <nidhijaju@chromium.org> Cr-Commit-Position: refs/heads/main@{#1408839}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
668e884217
commit
0723f3f078
net
quic
url_request
websockets
@ -200,7 +200,7 @@ class NET_EXPORT_PRIVATE QuicChromiumClientSession
|
||||
|
||||
// Called when |session| encounters write error on |network|.
|
||||
// A write error may be caused by the change in the underlying network
|
||||
// interface, and can be pre-emptive hints of connectivity quality changes
|
||||
// interface, and can be preemptive hints of connectivity quality changes
|
||||
// based on the |error_code|.
|
||||
virtual void OnSessionEncounteringWriteError(
|
||||
QuicChromiumClientSession* session,
|
||||
@ -689,7 +689,7 @@ class NET_EXPORT_PRIVATE QuicChromiumClientSession
|
||||
// Attempts to create a new stream. If the stream can be
|
||||
// created immediately, returns OK. If the open stream limit
|
||||
// has been reached, returns ERR_IO_PENDING, and |request|
|
||||
// will be added to the stream requets queue and will
|
||||
// will be added to the stream requests queue and will
|
||||
// be completed asynchronously.
|
||||
// TODO(rch): remove |stream| from this and use setter on |request|
|
||||
// and fix in spdy too.
|
||||
|
@ -6547,7 +6547,7 @@ TEST_F(URLRequestTestHTTP, NetworkErrorLogging_304Response) {
|
||||
EXPECT_EQ(OK, error2.type);
|
||||
|
||||
// repeat request with end-to-end validation. since auth-basic results in a
|
||||
// cachable page, we expect this test to result in a 304. in which case, the
|
||||
// cacheable page, we expect this test to result in a 304. in which case, the
|
||||
// response should be fetched from the cache.
|
||||
{
|
||||
TestDelegate d;
|
||||
@ -7271,7 +7271,7 @@ TEST_F(URLRequestTestHTTP, BasicAuth) {
|
||||
}
|
||||
|
||||
// repeat request with end-to-end validation. since auth-basic results in a
|
||||
// cachable page, we expect this test to result in a 304. in which case, the
|
||||
// cacheable page, we expect this test to result in a 304. in which case, the
|
||||
// response should be fetched from the cache.
|
||||
{
|
||||
TestDelegate d;
|
||||
@ -7385,7 +7385,7 @@ TEST_F(URLRequestTestHTTP, BasicAuthWithCookiesCancelAuth) {
|
||||
EXPECT_EQ(1, default_network_delegate().set_cookie_count());
|
||||
}
|
||||
|
||||
// Tests the IsolationInfo is updated approiately on redirect.
|
||||
// Tests the IsolationInfo is updated appropriately on redirect.
|
||||
TEST_F(URLRequestTestHTTP, IsolationInfoUpdatedOnRedirect) {
|
||||
base::test::ScopedFeatureList feature_list;
|
||||
feature_list.InitAndEnableFeature(
|
||||
@ -8122,7 +8122,7 @@ TEST_F(URLRequestTestHTTP, BasicAuthLoadTiming) {
|
||||
}
|
||||
|
||||
// Repeat request with end-to-end validation. Since auth-basic results in a
|
||||
// cachable page, we expect this test to result in a 304. In which case, the
|
||||
// cacheable page, we expect this test to result in a 304. In which case, the
|
||||
// response should be fetched from the cache.
|
||||
{
|
||||
TestDelegate d;
|
||||
@ -8665,7 +8665,7 @@ TEST_F(URLRequestTestHTTP, DefaultAcceptEncoding) {
|
||||
}
|
||||
|
||||
// Check that it's possible to override the default A-E header.
|
||||
TEST_F(URLRequestTestHTTP, DefaultAcceptEncodingOverriden) {
|
||||
TEST_F(URLRequestTestHTTP, DefaultAcceptEncodingOverridden) {
|
||||
ASSERT_TRUE(http_test_server()->Start());
|
||||
|
||||
struct {
|
||||
|
@ -319,7 +319,7 @@ int WebSocketBasicHandshakeStream::ReadResponseBody(
|
||||
|
||||
void WebSocketBasicHandshakeStream::Close(bool not_reusable) {
|
||||
// This class ignores the value of `not_reusable` and never lets the socket be
|
||||
// re-used.
|
||||
// reused.
|
||||
state_.Close(/*not_reusable=*/true);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user