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

Unified Diff: net/http/http_net_log_params.h

Issue 3133016: Support retrieval of raw headers from network stack (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: nits picked Created 10 years, 3 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/base/load_flags_list.h ('k') | webkit/glue/resource_loader_bridge.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_net_log_params.h
diff --git a/net/http/http_net_log_params.h b/net/http/http_net_log_params.h
index 5a5e84b917b328c1973601a43555e3645e84532d..4331a0f2c1d659e645ad63ba6bb9064ef0f01ed2 100644
--- a/net/http/http_net_log_params.h
+++ b/net/http/http_net_log_params.h
@@ -41,6 +41,10 @@ class NetLogHttpRequestParameter : public NetLog::EventParameters {
return dict;
}
+ const HttpRequestHeaders& GetHeaders() const {
+ return headers_;
+ }
+
private:
~NetLogHttpRequestParameter() {}
@@ -72,6 +76,10 @@ class NetLogHttpResponseParameter : public NetLog::EventParameters {
return dict;
}
+ const HttpResponseHeaders& GetHeaders() const {
+ return *headers_;
+ }
+
private:
~NetLogHttpResponseParameter() {}
« no previous file with comments | « net/base/load_flags_list.h ('k') | webkit/glue/resource_loader_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698