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

Unified Diff: Source/core/loader/DocumentLoader.h

Issue 15697017: Move subresource archive loading out of ResourceLoader (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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/loader/DocumentLoader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/DocumentLoader.h
diff --git a/Source/core/loader/DocumentLoader.h b/Source/core/loader/DocumentLoader.h
index c9ea9f89a32cc254ffcff7f6d077cf6adb850982..ee91ef04dbd241a50a45abd82ad8faf0f7bba58c 100644
--- a/Source/core/loader/DocumentLoader.h
+++ b/Source/core/loader/DocumentLoader.h
@@ -121,11 +121,7 @@ namespace WebCore {
void setTitle(const StringWithDirection&);
const String& overrideEncoding() const { return m_overrideEncoding; }
- bool scheduleArchiveLoad(ResourceLoader*, const ResourceRequest&);
-
-#ifndef NDEBUG
- bool isSubstituteLoadPending(ResourceLoader*) const;
-#endif
+ bool scheduleArchiveLoad(CachedResource*, const ResourceRequest&);
void cancelPendingSubstituteLoad(ResourceLoader*);
bool shouldContinueForNavigationPolicy(const ResourceRequest&);
@@ -205,7 +201,6 @@ namespace WebCore {
void prepareSubframeArchiveLoadIfNeeded();
void addAllArchiveResources(MHTMLArchive*);
- ArchiveResource* archiveResourceForURL(const KURL&) const;
void willSendRequest(ResourceRequest&, const ResourceResponse&);
void finishedLoading(double finishTime);
@@ -229,9 +224,6 @@ namespace WebCore {
void handleSubstituteDataLoadSoon();
void handleSubstituteDataLoadNow(DocumentLoaderTimer*);
void startDataLoadTimer();
-
- void deliverSubstituteResourcesAfterDelay();
- void substituteResourceDeliveryTimerFired(Timer<DocumentLoader>*);
Frame* m_frame;
RefPtr<CachedResourceLoader> m_cachedResourceLoader;
@@ -281,10 +273,6 @@ namespace WebCore {
// The action that triggered loading - we keep this around for the
// benefit of the various policy handlers.
NavigationAction m_triggeringAction;
-
- typedef HashMap<RefPtr<ResourceLoader>, RefPtr<SubstituteResource> > SubstituteResourceMap;
- SubstituteResourceMap m_pendingSubstituteResources;
- Timer<DocumentLoader> m_substituteResourceDeliveryTimer;
OwnPtr<ArchiveResourceCollection> m_archiveResourceCollection;
RefPtr<MHTMLArchive> m_archive;
« no previous file with comments | « no previous file | Source/core/loader/DocumentLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698