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

Unified Diff: Source/core/html/imports/HTMLImportChild.h

Issue 303643005: Straighten up HTML Imports load vs. share loader logic. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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 | « no previous file | Source/core/html/imports/HTMLImportChild.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/imports/HTMLImportChild.h
diff --git a/Source/core/html/imports/HTMLImportChild.h b/Source/core/html/imports/HTMLImportChild.h
index 741493067047be481a5e95d93fbfdd81e4a625d4..e1db3da0a62a1ad8abbd724034b12ac6174638ec 100644
--- a/Source/core/html/imports/HTMLImportChild.h
+++ b/Source/core/html/imports/HTMLImportChild.h
@@ -31,7 +31,6 @@
#ifndef HTMLImportChild_h
#define HTMLImportChild_h
-#include "core/fetch/RawResource.h"
#include "core/html/imports/HTMLImport.h"
#include "platform/heap/Handle.h"
#include "platform/weborigin/KURL.h"
@@ -53,15 +52,15 @@ class HTMLLinkElement;
//
class HTMLImportChild FINAL : public HTMLImport {
public:
- HTMLImportChild(const KURL&, SyncMode);
+ HTMLImportChild(const KURL&, HTMLImportLoader*, SyncMode);
virtual ~HTMLImportChild();
HTMLLinkElement* link() const;
Document* importedDocument() const;
const KURL& url() const { return m_url; }
- void wasAlreadyLoaded();
- void startLoading(const ResourcePtr<RawResource>&);
+ void didShareLoader();
+ void didStartLoading();
void importDestroyed();
WeakPtr<HTMLImportChild> weakPtr() { return m_weakFactory.createWeakPtr(); }
« no previous file with comments | « no previous file | Source/core/html/imports/HTMLImportChild.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698