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

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

Issue 2453973003: Add a QUIC proxy server to the list of QUIC servers supported at start up (Closed)
Patch Set: 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 default alternative proxy server. May return an invalid proxy
87 // server if no valid proxy server is available.
88 virtual ProxyServer GetDefaultAlternativeProxy() const = 0;
89
86 private: 90 private:
87 DISALLOW_COPY_AND_ASSIGN(ProxyDelegate); 91 DISALLOW_COPY_AND_ASSIGN(ProxyDelegate);
88 }; 92 };
89 93
90 } 94 }
91 95
92 #endif // NET_BASE_PROXY_DELEGATE_H_ 96 #endif // NET_BASE_PROXY_DELEGATE_H_
OLDNEW
« no previous file with comments | « components/data_reduction_proxy/core/common/data_reduction_proxy_params_unittest.cc ('k') | net/base/test_proxy_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698