OLD | NEW |
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 #include "net/http/http_stream_factory_impl.h" | 5 #include "net/http/http_stream_factory_impl.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 void SetConnectionReused() override {} | 87 void SetConnectionReused() override {} |
88 bool CanReuseConnection() const override { return false; } | 88 bool CanReuseConnection() const override { return false; } |
89 int64_t GetTotalReceivedBytes() const override { return 0; } | 89 int64_t GetTotalReceivedBytes() const override { return 0; } |
90 int64_t GetTotalSentBytes() const override { return 0; } | 90 int64_t GetTotalSentBytes() const override { return 0; } |
91 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override { | 91 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override { |
92 return false; | 92 return false; |
93 } | 93 } |
94 void GetSSLInfo(SSLInfo* ssl_info) override {} | 94 void GetSSLInfo(SSLInfo* ssl_info) override {} |
95 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override {} | 95 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override {} |
96 bool GetRemoteEndpoint(IPEndPoint* endpoint) override { return false; } | 96 bool GetRemoteEndpoint(IPEndPoint* endpoint) override { return false; } |
| 97 int GetProvidedTokenBindingWithKey( |
| 98 const scoped_ptr<crypto::ECPrivateKey>& key, |
| 99 std::string* header_out) override { |
| 100 ADD_FAILURE(); |
| 101 return ERR_NOT_IMPLEMENTED; |
| 102 } |
97 void Drain(HttpNetworkSession* session) override {} | 103 void Drain(HttpNetworkSession* session) override {} |
98 void SetPriority(RequestPriority priority) override {} | 104 void SetPriority(RequestPriority priority) override {} |
99 UploadProgress GetUploadProgress() const override { return UploadProgress(); } | 105 UploadProgress GetUploadProgress() const override { return UploadProgress(); } |
100 HttpStream* RenewStreamForAuth() override { return nullptr; } | 106 HttpStream* RenewStreamForAuth() override { return nullptr; } |
101 | 107 |
102 scoped_ptr<WebSocketStream> Upgrade() override { | 108 scoped_ptr<WebSocketStream> Upgrade() override { |
103 return scoped_ptr<WebSocketStream>(); | 109 return scoped_ptr<WebSocketStream>(); |
104 } | 110 } |
105 | 111 |
106 private: | 112 private: |
(...skipping 1333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1440 EXPECT_TRUE(waiter.used_proxy_info().is_direct()); | 1446 EXPECT_TRUE(waiter.used_proxy_info().is_direct()); |
1441 | 1447 |
1442 // Make sure there is no orphaned job. it is already canceled. | 1448 // Make sure there is no orphaned job. it is already canceled. |
1443 ASSERT_EQ(0u, static_cast<HttpStreamFactoryImpl*>( | 1449 ASSERT_EQ(0u, static_cast<HttpStreamFactoryImpl*>( |
1444 session->http_stream_factory_for_websocket())->num_orphaned_jobs()); | 1450 session->http_stream_factory_for_websocket())->num_orphaned_jobs()); |
1445 } | 1451 } |
1446 | 1452 |
1447 } // namespace | 1453 } // namespace |
1448 | 1454 |
1449 } // namespace net | 1455 } // namespace net |
OLD | NEW |