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

Unified Diff: net/spdy/spdy_session.h

Issue 1866983006: SHP 2: Change SpdySettingsMap to use SchemeHostPort as the key. No change to Pref data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@SHP_1
Patch Set: remove commented line Created 4 years, 8 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
Index: net/spdy/spdy_session.h
diff --git a/net/spdy/spdy_session.h b/net/spdy/spdy_session.h
index d99ae0b0f21295cbdad68ee0bd27f0630eabf9de..1a26dae499083dd2c862cba86eff81b1f8bdd810 100644
--- a/net/spdy/spdy_session.h
+++ b/net/spdy/spdy_session.h
@@ -42,6 +42,7 @@
#include "net/spdy/spdy_write_queue.h"
#include "net/ssl/ssl_config_service.h"
#include "url/gurl.h"
+#include "url/scheme_host_port.h"
namespace net {
@@ -404,6 +405,9 @@ class NET_EXPORT SpdySession : public BufferedSpdyFramerVisitorInterface,
// status, such as "resolving host", "connecting", etc.
LoadState GetLoadState() const;
+ // Returns server infomation in the form of (scheme/host/port).
+ url::SchemeHostPort GetServer();
+
// Fills SSL info in |ssl_info| and returns true when SSL is in use.
bool GetSSLInfo(SSLInfo* ssl_info,
bool* was_npn_negotiated,

Powered by Google App Engine
This is Rietveld 408576698