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

Unified Diff: net/spdy/server_push_delegate.h

Issue 2675343002: Server push cancellation: add NetLogs to track cache lookup transaction (Closed)
Patch Set: Always log the push lookup results 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
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..83f53940b8fb8ef2252aa78b66e2fc28fbf52701 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 {
@@ -29,7 +30,8 @@ class NET_EXPORT_PRIVATE ServerPushDelegate {
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& net_log) = 0;
};
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698