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

Unified Diff: webrtc/base/proxyinfo.h

Issue 2731673002: Removing HTTPS and SOCKS proxy server code. (Closed)
Patch Set: Adding back something still referenced by chromium. Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/base/proxy_unittest.cc ('k') | webrtc/base/proxyinfo.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/proxyinfo.h
diff --git a/webrtc/base/proxyinfo.h b/webrtc/base/proxyinfo.h
index 2251b13ee2eac883bb8bdc72517bee89ce5047d5..cd5c3875dd9ccffa5eb07bee68ec921d982bd7e6 100644
--- a/webrtc/base/proxyinfo.h
+++ b/webrtc/base/proxyinfo.h
@@ -11,31 +11,15 @@
#ifndef WEBRTC_BASE_PROXYINFO_H__
#define WEBRTC_BASE_PROXYINFO_H__
-#include <string>
-#include "webrtc/base/socketaddress.h"
-#include "webrtc/base/cryptstring.h"
-
namespace rtc {
+// TODO(deadbeef): Remove this; it's not used any more but it's referenced in
+// some places, including chromium.
enum ProxyType {
PROXY_NONE,
- PROXY_HTTPS,
- PROXY_SOCKS5,
- PROXY_UNKNOWN
};
-const char * ProxyToString(ProxyType proxy);
struct ProxyInfo {
- ProxyType type;
- SocketAddress address;
- std::string autoconfig_url;
- bool autodetect;
- std::string bypass_list;
- std::string username;
- CryptString password;
-
- ProxyInfo();
- ~ProxyInfo();
};
} // namespace rtc
« no previous file with comments | « webrtc/base/proxy_unittest.cc ('k') | webrtc/base/proxyinfo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698