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

Unified Diff: third_party/WebKit/public/web/WebDataSource.h

Issue 2734633002: PlzNavigate: Fix the http/tests/loading/307-after-303-after-post.html and the http/tests/loading/re… (Closed)
Patch Set: 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 | « third_party/WebKit/Source/web/WebDataSourceImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebDataSource.h
diff --git a/third_party/WebKit/public/web/WebDataSource.h b/third_party/WebKit/public/web/WebDataSource.h
index c2b118ac412d890aa7cae91a3567237a17774b19..3ef4bbb56da27e27a38dd263cfee5542631be330 100644
--- a/third_party/WebKit/public/web/WebDataSource.h
+++ b/third_party/WebKit/public/web/WebDataSource.h
@@ -60,6 +60,10 @@ class WebDataSource {
// to a location specified by a redirect that was followed.
virtual const WebURLRequest& getRequest() const = 0;
+ // Returns the request corresponding to this data source. The caller can
+ // modify this request.
+ virtual WebURLRequest& getRequestWritable() = 0;
Nate Chapin 2017/03/06 19:16:03 Rather than exposing this as a one-off, let's pass
ananta 2017/03/06 22:42:05 Done.
+
// Returns the response associated with this datasource.
virtual const WebURLResponse& response() const = 0;
« no previous file with comments | « third_party/WebKit/Source/web/WebDataSourceImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698