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

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

Issue 211663002: Refactoring: Get rid of HTMLImportLoaerClient (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 6 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: Source/core/html/imports/HTMLImportChild.h
diff --git a/Source/core/html/imports/HTMLImportChild.h b/Source/core/html/imports/HTMLImportChild.h
index ae4bb32edd4d838d713a92f437b28d5ca2d5023b..601ef37fb2151a10016c4e7ae0b6f00631ec8db1 100644
--- a/Source/core/html/imports/HTMLImportChild.h
+++ b/Source/core/html/imports/HTMLImportChild.h
@@ -34,7 +34,6 @@
#include "core/fetch/RawResource.h"
#include "core/fetch/ResourceOwner.h"
#include "core/html/imports/HTMLImport.h"
-#include "core/html/imports/HTMLImportLoaderClient.h"
#include "platform/weborigin/KURL.h"
#include "wtf/Vector.h"
@@ -54,7 +53,7 @@ class HTMLLinkElement;
// HTMLImportChild implements ResourceClient through ResourceOwner
// so that it can speculatively request linked resources while it is unblocked.
//
-class HTMLImportChild FINAL : public HTMLImport, public HTMLImportLoaderClient, public ResourceOwner<RawResource> {
+class HTMLImportChild FINAL : public HTMLImport, public ResourceOwner<RawResource> {
public:
HTMLImportChild(Document&, const KURL&, bool sync);
virtual ~HTMLImportChild();
@@ -88,6 +87,8 @@ public:
void clearClient();
bool loaderHasError() const;
+ void didFinishLoading();
+
private:
// RawResourceOwner doing nothing.
// HTMLImportChild owns the resource so that the contents of prefetched Resource doesn't go away.
@@ -95,9 +96,6 @@ private:
virtual void dataReceived(Resource*, const char*, int) OVERRIDE { }
virtual void notifyFinished(Resource*) OVERRIDE { }
- // HTMLImportLoaderClient
- virtual void didFinishLoading() OVERRIDE;
-
void didFinish();
void createLoader();
void shareLoader(HTMLImportChild*);

Powered by Google App Engine
This is Rietveld 408576698