ResourceLoader::ResourceLoader(Frame& frame, ResourceLoaderOptions options) : m_frame(&frame) , m_documentLoader(frame.loader().activeDocumentLoader()) , m_defersLoading(options.defersLoadingPolicy() == DefersLoadingPolicy::AllowDefersLoading && frame.page()->defersLoading()) , m_options(options) { }
ResourceLoader::ResourceLoader(Frame* frame, ResourceLoaderOptions options) : m_frame(frame) , m_documentLoader(frame->loader().activeDocumentLoader()) , m_identifier(0) , m_reachedTerminalState(false) , m_notifiedLoadComplete(false) , m_cancellationStatus(NotCancelled) , m_defersLoading(options.defersLoadingPolicy() == DefersLoadingPolicy::AllowDefersLoading && frame->page()->defersLoading()) , m_options(options) , m_isQuickLookResource(false) #if ENABLE(CONTENT_EXTENSIONS) , m_resourceType(ResourceType::Invalid) #endif { }