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

Unified Diff: net/spdy/spdy_session.h

Issue 1904483004: Change SupportsSpdy dict, SpdySettingsMap, ServerNetworkStatsMap, AlternativeServiceMap and disk da… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl format net 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 738f5265c7e96ac938d4dae72088adbfd5b3c5ee..a12babed141af7a9879a6fd8cb2b2bfcb21e2415 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