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

Side by Side Diff: net/http/http_network_transaction_unittest.cc

Issue 1812823010: Rename net::BidirectionalStream*Job to net::BidirectionalStream*Impl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 4 years, 9 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
« no previous file with comments | « net/http/http_network_transaction.cc ('k') | net/http/http_stream_factory.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "net/http/http_network_transaction.h" 5 #include "net/http/http_network_transaction.h"
6 6
7 #include <math.h> // ceil 7 #include <math.h> // ceil
8 #include <stdarg.h> 8 #include <stdarg.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 #include <limits> 10 #include <limits>
(...skipping 14616 matching lines...) Expand 10 before | Expand all | Expand 10 after
14627 RequestPriority priority, 14627 RequestPriority priority,
14628 const SSLConfig& server_ssl_config, 14628 const SSLConfig& server_ssl_config,
14629 const SSLConfig& proxy_ssl_config, 14629 const SSLConfig& proxy_ssl_config,
14630 HttpStreamRequest::Delegate* delegate, 14630 HttpStreamRequest::Delegate* delegate,
14631 const BoundNetLog& net_log) override { 14631 const BoundNetLog& net_log) override {
14632 FakeStreamRequest* fake_request = new FakeStreamRequest(priority, delegate); 14632 FakeStreamRequest* fake_request = new FakeStreamRequest(priority, delegate);
14633 last_stream_request_ = fake_request->AsWeakPtr(); 14633 last_stream_request_ = fake_request->AsWeakPtr();
14634 return fake_request; 14634 return fake_request;
14635 } 14635 }
14636 14636
14637 HttpStreamRequest* RequestBidirectionalStreamJob( 14637 HttpStreamRequest* RequestBidirectionalStreamImpl(
14638 const HttpRequestInfo& info, 14638 const HttpRequestInfo& info,
14639 RequestPriority priority, 14639 RequestPriority priority,
14640 const SSLConfig& server_ssl_config, 14640 const SSLConfig& server_ssl_config,
14641 const SSLConfig& proxy_ssl_config, 14641 const SSLConfig& proxy_ssl_config,
14642 HttpStreamRequest::Delegate* delegate, 14642 HttpStreamRequest::Delegate* delegate,
14643 const BoundNetLog& net_log) override { 14643 const BoundNetLog& net_log) override {
14644 NOTREACHED(); 14644 NOTREACHED();
14645 return nullptr; 14645 return nullptr;
14646 } 14646 }
14647 14647
(...skipping 1302 matching lines...) Expand 10 before | Expand all | Expand 10 after
15950 base::MessageLoop::current()->RunUntilIdle(); 15950 base::MessageLoop::current()->RunUntilIdle();
15951 15951
15952 EXPECT_TRUE(trans.GetResponseInfo()->was_fetched_via_spdy); 15952 EXPECT_TRUE(trans.GetResponseInfo()->was_fetched_via_spdy);
15953 HttpRequestHeaders headers; 15953 HttpRequestHeaders headers;
15954 ASSERT_TRUE(trans.GetFullRequestHeaders(&headers)); 15954 ASSERT_TRUE(trans.GetFullRequestHeaders(&headers));
15955 EXPECT_TRUE(headers.HasHeader(HttpRequestHeaders::kTokenBinding)); 15955 EXPECT_TRUE(headers.HasHeader(HttpRequestHeaders::kTokenBinding));
15956 } 15956 }
15957 #endif // !defined(OS_IOS) 15957 #endif // !defined(OS_IOS)
15958 15958
15959 } // namespace net 15959 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_network_transaction.cc ('k') | net/http/http_stream_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698