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

Unified Diff: net/spdy/server_push_delegate.h

Issue 2675343002: Server push cancellation: add NetLogs to track cache lookup transaction (Closed)
Patch Set: fix typo 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 | « net/quic/chromium/quic_chromium_client_session.cc ('k') | net/spdy/spdy_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/server_push_delegate.h
diff --git a/net/spdy/server_push_delegate.h b/net/spdy/server_push_delegate.h
index 7e9c3db84ed43824114a1206544d549f133d2227..719ca8ee680c3a9ecdb48059365ca25aba38b67e 100644
--- a/net/spdy/server_push_delegate.h
+++ b/net/spdy/server_push_delegate.h
@@ -6,6 +6,7 @@
#define NET_SPDY_SERVER_PUSH_DELEGATE_H_
#include "net/base/net_export.h"
+#include "net/log/net_log_with_source.h"
#include "url/gurl.h"
namespace net {
@@ -23,13 +24,14 @@ class NET_EXPORT_PRIVATE ServerPushDelegate {
virtual void Cancel() = 0;
// Gets the URL of the pushed request.
- virtual const GURL& GetURL() = 0;
+ virtual const GURL& GetURL() const = 0;
};
virtual ~ServerPushDelegate() {}
// Invoked by session when a push promise has been received.
- virtual void OnPush(std::unique_ptr<ServerPushHelper> push_helper) = 0;
+ virtual void OnPush(std::unique_ptr<ServerPushHelper> push_helper,
+ const NetLogWithSource& session_net_log) = 0;
};
} // namespace net
« no previous file with comments | « net/quic/chromium/quic_chromium_client_session.cc ('k') | net/spdy/spdy_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698