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

Unified Diff: third_party/WebKit/Source/web/WebDataSourceImpl.h

Issue 2781723007: Plumb initiator out of Blink. (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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/WebDataSourceImpl.h
diff --git a/third_party/WebKit/Source/web/WebDataSourceImpl.h b/third_party/WebKit/Source/web/WebDataSourceImpl.h
index 3497fed0436ef5ec797fd3656da83f4c0533234e..0c89ff4a3eec0e2a59be523cf20e884e54136351 100644
--- a/third_party/WebKit/Source/web/WebDataSourceImpl.h
+++ b/third_party/WebKit/Source/web/WebDataSourceImpl.h
@@ -43,12 +43,15 @@
namespace blink {
+class Document;
+
class WebDataSourceImpl final : public DocumentLoader, public WebDataSource {
public:
static WebDataSourceImpl* create(LocalFrame*,
const ResourceRequest&,
const SubstituteData&,
- ClientRedirectPolicy);
+ ClientRedirectPolicy,
+ Document* originDocument);
static WebDataSourceImpl* fromDocumentLoader(DocumentLoader* loader) {
return static_cast<WebDataSourceImpl*>(loader);
@@ -87,7 +90,8 @@ class WebDataSourceImpl final : public DocumentLoader, public WebDataSource {
WebDataSourceImpl(LocalFrame*,
const ResourceRequest&,
const SubstituteData&,
- ClientRedirectPolicy);
+ ClientRedirectPolicy,
+ Document* originDocument);
~WebDataSourceImpl() override;
void detachFromFrame() override;
String debugName() const override { return "WebDataSourceImpl"; }
« no previous file with comments | « third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp ('k') | third_party/WebKit/Source/web/WebDataSourceImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698