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

Side by Side 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, 9 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/web/WebDataSourceImpl.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 53
54 // Returns the original request that resulted in this datasource. 54 // Returns the original request that resulted in this datasource.
55 virtual const WebURLRequest& originalRequest() const = 0; 55 virtual const WebURLRequest& originalRequest() const = 0;
56 56
57 // Returns the request corresponding to this datasource. It may 57 // Returns the request corresponding to this datasource. It may
58 // include additional request headers added by WebKit that were not 58 // include additional request headers added by WebKit that were not
59 // present in the original request. This request may also correspond 59 // present in the original request. This request may also correspond
60 // to a location specified by a redirect that was followed. 60 // to a location specified by a redirect that was followed.
61 virtual const WebURLRequest& getRequest() const = 0; 61 virtual const WebURLRequest& getRequest() const = 0;
62 62
63 // Returns the request corresponding to this data source. The caller can
64 // modify this request.
65 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.
66
63 // Returns the response associated with this datasource. 67 // Returns the response associated with this datasource.
64 virtual const WebURLResponse& response() const = 0; 68 virtual const WebURLResponse& response() const = 0;
65 69
66 // When this datasource was created as a result of WebFrame::loadData, 70 // When this datasource was created as a result of WebFrame::loadData,
67 // there may be an associated unreachableURL. 71 // there may be an associated unreachableURL.
68 virtual bool hasUnreachableURL() const = 0; 72 virtual bool hasUnreachableURL() const = 0;
69 virtual WebURL unreachableURL() const = 0; 73 virtual WebURL unreachableURL() const = 0;
70 74
71 // Allows the embedder to append redirects to the chain as a navigation 75 // Allows the embedder to append redirects to the chain as a navigation
72 // is starting, in case it is being transferred from another process. 76 // is starting, in case it is being transferred from another process.
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 // datasource is destroyed or when a new filter is set. 124 // datasource is destroyed or when a new filter is set.
121 virtual void setSubresourceFilter(WebDocumentSubresourceFilter*) = 0; 125 virtual void setSubresourceFilter(WebDocumentSubresourceFilter*) = 0;
122 126
123 protected: 127 protected:
124 ~WebDataSource() {} 128 ~WebDataSource() {}
125 }; 129 };
126 130
127 } // namespace blink 131 } // namespace blink
128 132
129 #endif 133 #endif
OLDNEW
« 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