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

Unified Diff: net/quic/quic_server_id.h

Issue 1397983007: relnote: remove insecure QUIC support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rch_insecure_quic
Patch Set: Compile fix Created 5 years, 2 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 | « net/quic/quic_sent_packet_manager_test.cc ('k') | net/quic/quic_server_id.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_server_id.h
diff --git a/net/quic/quic_server_id.h b/net/quic/quic_server_id.h
index 0daf0b8bb4110e6a1b423d21fcf752108de33b7a..4e3f067948e895274760a5caad06b687af609295 100644
--- a/net/quic/quic_server_id.h
+++ b/net/quic/quic_server_id.h
@@ -19,14 +19,10 @@ class NET_EXPORT_PRIVATE QuicServerId {
public:
QuicServerId();
QuicServerId(const HostPortPair& host_port_pair,
- bool is_https,
PrivacyMode privacy_mode);
+ QuicServerId(const std::string& host, uint16 port);
QuicServerId(const std::string& host,
uint16 port,
- bool is_https);
- QuicServerId(const std::string& host,
- uint16 port,
- bool is_https,
PrivacyMode privacy_mode);
~QuicServerId();
@@ -39,8 +35,7 @@ class NET_EXPORT_PRIVATE QuicServerId {
static QuicServerId FromString(const std::string& str);
// ToString() will convert the QuicServerId to "scheme:hostname:port" or
- // "scheme:hostname:port/private". "scheme" would either be "http" or "https"
- // based on |is_https|.
+ // "scheme:hostname:port/private". "scheme" will be "https".
std::string ToString() const;
// Used in Chromium, but not in the server.
@@ -50,13 +45,10 @@ class NET_EXPORT_PRIVATE QuicServerId {
uint16 port() const { return host_port_pair_.port(); }
- bool is_https() const { return is_https_; }
-
PrivacyMode privacy_mode() const { return privacy_mode_; }
private:
HostPortPair host_port_pair_;
- bool is_https_;
PrivacyMode privacy_mode_;
};
« no previous file with comments | « net/quic/quic_sent_packet_manager_test.cc ('k') | net/quic/quic_server_id.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698