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

Side by Side Diff: net/http/http_stream_factory_impl_job.h

Issue 2093873002: Unwind fallback metrics and SSLFailureState. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 #ifndef NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ 5 #ifndef NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_
6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ 6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 // Invoked when |job| has a WebSocketHandshakeStream ready. 60 // Invoked when |job| has a WebSocketHandshakeStream ready.
61 virtual void OnWebSocketHandshakeStreamReady( 61 virtual void OnWebSocketHandshakeStreamReady(
62 Job* job, 62 Job* job,
63 const SSLConfig& used_ssl_config, 63 const SSLConfig& used_ssl_config,
64 const ProxyInfo& used_proxy_info, 64 const ProxyInfo& used_proxy_info,
65 WebSocketHandshakeStreamBase* stream) = 0; 65 WebSocketHandshakeStreamBase* stream) = 0;
66 66
67 // Invoked when |job| fails to create a stream. 67 // Invoked when |job| fails to create a stream.
68 virtual void OnStreamFailed(Job* job, 68 virtual void OnStreamFailed(Job* job,
69 int status, 69 int status,
70 const SSLConfig& used_ssl_config, 70 const SSLConfig& used_ssl_config) = 0;
71 SSLFailureState ssl_failure_state) = 0;
72 71
73 // Invoked when |job| has a certificate error for the Request. 72 // Invoked when |job| has a certificate error for the Request.
74 virtual void OnCertificateError(Job* job, 73 virtual void OnCertificateError(Job* job,
75 int status, 74 int status,
76 const SSLConfig& used_ssl_config, 75 const SSLConfig& used_ssl_config,
77 const SSLInfo& ssl_info) = 0; 76 const SSLInfo& ssl_info) = 0;
78 77
79 // Invoked when |job| has a failure of the CONNECT request through an HTTPS 78 // Invoked when |job| has a failure of the CONNECT request through an HTTPS
80 // proxy. 79 // proxy.
81 virtual void OnHttpsProxyTunnelResponse( 80 virtual void OnHttpsProxyTunnelResponse(
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 const SSLConfig& server_ssl_config, 559 const SSLConfig& server_ssl_config,
561 const SSLConfig& proxy_ssl_config, 560 const SSLConfig& proxy_ssl_config,
562 HostPortPair destination, 561 HostPortPair destination,
563 GURL origin_url, 562 GURL origin_url,
564 NetLog* net_log) = 0; 563 NetLog* net_log) = 0;
565 }; 564 };
566 565
567 } // namespace net 566 } // namespace net
568 567
569 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ 568 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698