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

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

Issue 2442633002: Add a QUIC proxy server to the list of QUIC servers supported at start up (Closed)
Patch Set: Condition the setting of the zero RTT proxy server on field trial param Created 4 years, 1 month 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_BASE_PROXY_DELEGATE_H_ 5 #ifndef NET_BASE_PROXY_DELEGATE_H_
6 #define NET_BASE_PROXY_DELEGATE_H_ 6 #define NET_BASE_PROXY_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 // non-null. 76 // non-null.
77 virtual void GetAlternativeProxy( 77 virtual void GetAlternativeProxy(
78 const GURL& url, 78 const GURL& url,
79 const ProxyServer& resolved_proxy_server, 79 const ProxyServer& resolved_proxy_server,
80 ProxyServer* alternative_proxy_server) const = 0; 80 ProxyServer* alternative_proxy_server) const = 0;
81 81
82 // Notifies the ProxyDelegate that |alternative_proxy_server| is broken. 82 // Notifies the ProxyDelegate that |alternative_proxy_server| is broken.
83 virtual void OnAlternativeProxyBroken( 83 virtual void OnAlternativeProxyBroken(
84 const ProxyServer& alternative_proxy_server) = 0; 84 const ProxyServer& alternative_proxy_server) = 0;
85 85
86 // Returns the QUIC proxy server that is expected to be used in the
87 // recent future. May return an invalid proxy server if no valid QUIC proxy
88 // server is available.
89 virtual ProxyServer GetQuicSupportedProxyServerAtStartUp() const = 0;
Ryan Hamilton 2016/10/25 19:20:15 Since this just returns a ProxyServer which may or
tbansal1 2016/10/25 21:47:26 Done.
90
86 private: 91 private:
87 DISALLOW_COPY_AND_ASSIGN(ProxyDelegate); 92 DISALLOW_COPY_AND_ASSIGN(ProxyDelegate);
88 }; 93 };
89 94
90 } 95 }
91 96
92 #endif // NET_BASE_PROXY_DELEGATE_H_ 97 #endif // NET_BASE_PROXY_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698