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; |