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

Unified Diff: Source/core/loader/ResourceLoader.cpp

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 | « Source/core/loader/DocumentLoader.cpp ('k') | Source/core/loader/archive/ArchiveResource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/ResourceLoader.cpp
diff --git a/Source/core/loader/ResourceLoader.cpp b/Source/core/loader/ResourceLoader.cpp
index b28971a7cb93394eefaa2ce3210a9adff401fe27..6673358822794c1b457ddb3271aeadd2635928f2 100644
--- a/Source/core/loader/ResourceLoader.cpp
+++ b/Source/core/loader/ResourceLoader.cpp
@@ -42,7 +42,6 @@
#include "core/platform/Logging.h"
#include "core/platform/network/ResourceError.h"
#include "core/platform/network/ResourceHandle.h"
-#include "weborigin/SecurityOrigin.h"
namespace WebCore {
@@ -129,7 +128,6 @@ bool ResourceLoader::init(const ResourceRequest& r)
ASSERT(!m_handle);
ASSERT(m_request.isNull());
ASSERT(m_deferredRequest.isNull());
- ASSERT(!m_documentLoader->isSubstituteLoadPending(this));
ResourceRequest clientRequest(r);
@@ -153,9 +151,6 @@ void ResourceLoader::start()
ASSERT(!m_request.isNull());
ASSERT(m_deferredRequest.isNull());
- if (m_documentLoader->scheduleArchiveLoad(this, m_request))
- return;
-
m_documentLoader->applicationCacheHost()->willStartLoadingResource(m_request);
if (m_defersLoading) {
@@ -248,7 +243,6 @@ void ResourceLoader::cancel(const ResourceError& error)
if (m_resource->resourceToRevalidate())
m_resource->revalidationFailed();
- m_documentLoader->cancelPendingSubstituteLoad(this);
if (m_handle) {
m_handle->cancel();
m_handle = 0;
« no previous file with comments | « Source/core/loader/DocumentLoader.cpp ('k') | Source/core/loader/archive/ArchiveResource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698