Home
last modified time | relevance | path

Searched refs:ResourceRequest (Results 1 – 25 of 130) sorted by relevance

123456

/external/chromium_org/third_party/WebKit/Source/platform/network/
DResourceRequest.cpp32 double ResourceRequest::s_defaultTimeoutInterval = INT_MAX;
34 PassOwnPtr<ResourceRequest> ResourceRequest::adopt(PassOwnPtr<CrossThreadResourceRequestData> data) in adopt()
36 OwnPtr<ResourceRequest> request = adoptPtr(new ResourceRequest()); in adopt()
58 PassOwnPtr<CrossThreadResourceRequestData> ResourceRequest::copyData() const in copyData()
82 bool ResourceRequest::isEmpty() const in isEmpty()
87 bool ResourceRequest::isNull() const in isNull()
92 const KURL& ResourceRequest::url() const in url()
97 void ResourceRequest::setURL(const KURL& url) in setURL()
102 void ResourceRequest::removeCredentials() in removeCredentials()
111 ResourceRequestCachePolicy ResourceRequest::cachePolicy() const in cachePolicy()
[all …]
DResourceRequest.h48 class PLATFORM_EXPORT ResourceRequest {
78 ResourceRequest() in ResourceRequest() function
83 ResourceRequest(const String& urlString) in ResourceRequest() function
88 ResourceRequest(const KURL& url) in ResourceRequest() function
93ResourceRequest(const KURL& url, const AtomicString& referrer, ResourceRequestCachePolicy cachePol…
99 static PassOwnPtr<ResourceRequest> adopt(PassOwnPtr<CrossThreadResourceRequestData>);
213 static bool compare(const ResourceRequest&, const ResourceRequest&);
241 bool equalIgnoringHeaderFields(const ResourceRequest&, const ResourceRequest&);
243 inline bool operator==(const ResourceRequest& a, const ResourceRequest& b) { return ResourceRequest
244 inline bool operator!=(ResourceRequest& a, const ResourceRequest& b) { return !(a == b); }
[all …]
/external/chromium_org/third_party/WebKit/Source/core/loader/
DDocumentLoader.h68 …static PassRefPtr<DocumentLoader> create(const ResourceRequest& request, const SubstituteData& dat… in create()
91 const ResourceRequest& originalRequest() const;
92 const ResourceRequest& originalRequestCopy() const;
94 const ResourceRequest& request() const;
95 ResourceRequest& request();
124 bool scheduleArchiveLoad(Resource*, const ResourceRequest&);
131 bool shouldContinueForNavigationPolicy(const ResourceRequest&, PolicyCheckLoadType);
162 DocumentLoader(const ResourceRequest&, const SubstituteData&);
175 void setRequest(const ResourceRequest&);
191 void willSendRequest(ResourceRequest&, const ResourceResponse&);
[all …]
DDocumentThreadableLoader.h50 class ResourceRequest; variable
57 …static void loadResourceSynchronously(Document*, const ResourceRequest&, ThreadableLoaderClient&, …
58 …ntThreadableLoader> create(Document*, ThreadableLoaderClient*, const ResourceRequest&, const Threa…
77 …leLoader(Document*, ThreadableLoaderClient*, BlockingBehavior, const ResourceRequest&, const Threa…
83 virtual void redirectReceived(Resource*, ResourceRequest&, const ResourceResponse&);
93 void makeCrossOriginAccessRequest(const ResourceRequest&);
94 void makeSimpleCrossOriginAccessRequest(const ResourceRequest&);
95 void makeCrossOriginAccessRequestWithPreflight(const ResourceRequest&);
99 void loadRequest(const ResourceRequest&, SecurityCheckPolicy);
112 OwnPtr<ResourceRequest> m_actualRequest; // non-null during Access Control preflight checks
DFrameLoadRequest.h49 FrameLoadRequest(Document* originDocument, const ResourceRequest& resourceRequest) in FrameLoadRequest()
58 …FrameLoadRequest(Document* originDocument, const ResourceRequest& resourceRequest, const String& f… in FrameLoadRequest()
68 …FrameLoadRequest(Document* originDocument, const ResourceRequest& resourceRequest, const Substitut… in FrameLoadRequest()
80 ResourceRequest& resourceRequest() { return m_resourceRequest; } in resourceRequest()
81 const ResourceRequest& resourceRequest() const { return m_resourceRequest; } in resourceRequest()
105 ResourceRequest m_resourceRequest;
DPingLoader.cpp60 ResourceRequest request(url); in loadImage()
61 request.setTargetType(ResourceRequest::TargetIsPing); in loadImage()
76 ResourceRequest request(pingURL); in sendPing()
77 request.setTargetType(ResourceRequest::TargetIsPing); in sendPing()
104 ResourceRequest request(reportURL); in sendViolationReport()
105 request.setTargetType(ResourceRequest::TargetIsSubresource); in sendViolationReport()
120 PingLoader::PingLoader(Frame* frame, ResourceRequest& request, StoredCredentials credentialsAllowed) in PingLoader()
DWorkerThreadableLoader.h47 class ResourceRequest; variable
56 …static void loadResourceSynchronously(WorkerGlobalScope*, const ResourceRequest&, ThreadableLoader…
57 …Scope, ThreadableLoaderClient* client, const String& taskMode, const ResourceRequest& request, con… in create()
98 …derClientWrapper>, WorkerLoaderProxy&, const String& taskMode, const ResourceRequest&, const Threa…
136 …GlobalScope*, ThreadableLoaderClient*, const String& taskMode, const ResourceRequest&, const Threa…
DDocumentThreadableLoader.cpp55 void DocumentThreadableLoader::loadResourceSynchronously(Document* document, const ResourceRequest&… in loadResourceSynchronously()
62 …er::create(Document* document, ThreadableLoaderClient* client, const ResourceRequest& request, con… in create()
70 …adableLoaderClient* client, BlockingBehavior blockingBehavior, const ResourceRequest& request, con… in DocumentThreadableLoader()
97 void DocumentThreadableLoader::makeCrossOriginAccessRequest(const ResourceRequest& request) in makeCrossOriginAccessRequest()
101 OwnPtr<ResourceRequest> crossOriginRequest = adoptPtr(new ResourceRequest(request)); in makeCrossOriginAccessRequest()
119 void DocumentThreadableLoader::makeSimpleCrossOriginAccessRequest(const ResourceRequest& request) in makeSimpleCrossOriginAccessRequest()
133 void DocumentThreadableLoader::makeCrossOriginAccessRequestWithPreflight(const ResourceRequest& req… in makeCrossOriginAccessRequestWithPreflight()
135ResourceRequest preflightRequest = createAccessControlPreflightRequest(request, securityOrigin()); in makeCrossOriginAccessRequestWithPreflight()
172 void DocumentThreadableLoader::redirectReceived(Resource* resource, ResourceRequest& request, const… in redirectReceived()
180 request = ResourceRequest(); in redirectReceived()
[all …]
DFrameFetchContext.h47 class ResourceRequest; variable
54 virtual void addAdditionalRequestHeaders(Document&, ResourceRequest&, Resource::Type) OVERRIDE;
57 …virtual void dispatchWillSendRequest(DocumentLoader*, unsigned long identifier, ResourceRequest&, …
58 …virtual void dispatchDidLoadResourceFromMemoryCache(const ResourceRequest&, const ResourceResponse…
DNavigationAction.h44 …NavigationAction(const ResourceRequest&, FrameLoadType = FrameLoadTypeStandard, bool isFormSubmiss…
46 const ResourceRequest& resourceRequest() const { return m_resourceRequest; } in resourceRequest()
53 ResourceRequest m_resourceRequest;
DFrameLoaderClient.h77 class ResourceRequest; variable
101 virtual void dispatchWillRequestAfterPreconnect(ResourceRequest&) { } in dispatchWillRequestAfterPreconnect() argument
102 …d dispatchWillSendRequest(DocumentLoader*, unsigned long identifier, ResourceRequest&, const Resou…
105 …virtual void dispatchDidLoadResourceFromMemoryCache(const ResourceRequest&, const ResourceResponse…
121 …virtual NavigationPolicy decidePolicyForNavigation(const ResourceRequest&, DocumentLoader*, Naviga…
133 …virtual void loadURLExternally(const ResourceRequest&, NavigationPolicy, const String& suggestedNa…
162 …virtual PassRefPtr<DocumentLoader> createDocumentLoader(const ResourceRequest&, const SubstituteDa…
DFrameLoader.h63 class ResourceRequest; variable
123 const ResourceRequest& originalRequest() const;
142 void addExtraFieldsToRequest(ResourceRequest&);
144 static void addHTTPOriginIfNeeded(ResourceRequest&, const AtomicString& origin);
183 void applyUserAgent(ResourceRequest&);
220 void setReferrerForFrameRequest(ResourceRequest&, ShouldSendReferrer, Document*);
/external/chromium_org/third_party/WebKit/Source/platform/exported/
DWrappedResourceRequest.h48 WrappedResourceRequest(WebCore::ResourceRequest& resourceRequest) in WrappedResourceRequest()
53 WrappedResourceRequest(const WebCore::ResourceRequest& resourceRequest) in WrappedResourceRequest()
58 void bind(WebCore::ResourceRequest& resourceRequest) in bind()
64 void bind(const WebCore::ResourceRequest& resourceRequest) in bind()
66 bind(*const_cast<WebCore::ResourceRequest*>(&resourceRequest)); in bind()
/external/chromium_org/third_party/WebKit/Source/core/fetch/
DFetchRequest.h44 …explicit FetchRequest(const ResourceRequest&, const AtomicString& initiator, const String& charset…
45 … FetchRequest(const ResourceRequest&, const AtomicString& initiator, const ResourceLoaderOptions&);
46 FetchRequest(const ResourceRequest&, const FetchInitiatorInfo&);
49 ResourceRequest& mutableResourceRequest() { return m_resourceRequest; } in mutableResourceRequest()
50 const ResourceRequest& resourceRequest() const { return m_resourceRequest; } in resourceRequest()
67 ResourceRequest m_resourceRequest;
DRawResource.h37 RawResource(const ResourceRequest&, Type);
48 virtual bool canReuse(const ResourceRequest&) const;
56 virtual void willSendRequest(ResourceRequest&, const ResourceResponse&);
63 … explicit RedirectPair(const ResourceRequest& request, const ResourceResponse& redirectResponse) in RedirectPair()
69 const ResourceRequest m_request;
98 virtual void redirectReceived(Resource*, ResourceRequest&, const ResourceResponse&) { } in redirectReceived() argument
DResourceLoader.h49 …static PassRefPtr<ResourceLoader> create(ResourceLoaderHost*, Resource*, const ResourceRequest&, c…
60 const ResourceRequest& originalRequest() const { return m_originalRequest; } in originalRequest()
85 const ResourceRequest& request() const { return m_request; } in request()
90 void init(const ResourceRequest&);
98 ResourceRequest m_request;
99 ResourceRequest m_originalRequest; // Before redirects.
104 ResourceRequest m_deferredRequest;
DRawResourceTest.cpp54 ResourceRequest jpegRequest; in TEST()
59 ResourceRequest pngRequest; in TEST()
68 …RawResource* oldResourcePointer = new RawResource(ResourceRequest("data:text/html,"), Resource::Ra… in TEST()
69 …RawResource* newResourcePointer = new RawResource(ResourceRequest("data:text/html,"), Resource::Ra… in TEST()
DResourceLoaderHost.h43 class ResourceRequest; variable
63 …virtual void willSendRequest(unsigned long identifier, ResourceRequest&, const ResourceResponse& r…
71 virtual void willStartLoadingResource(ResourceRequest&) = 0;
73 virtual bool shouldRequest(Resource*, const ResourceRequest&, const ResourceLoaderOptions&) = 0;
DFetchContext.h50 class ResourceRequest; variable
61 virtual void addAdditionalRequestHeaders(Document&, ResourceRequest&, Resource::Type);
65 …virtual void dispatchWillSendRequest(DocumentLoader*, unsigned long identifier, ResourceRequest&, …
66 …virtual void dispatchDidLoadResourceFromMemoryCache(const ResourceRequest&, const ResourceResponse…
DMemoryCacheTest.cpp49 FakeDecodedResource(const ResourceRequest& request, Type type) in FakeDecodedResource()
68 FakeResource(const ResourceRequest& request, Type type) in FakeResource()
125 new FakeResource(ResourceRequest(""), Resource::Raw); in TEST_F()
156 new Resource(ResourceRequest(""), Resource::Raw); in TEST_F()
186 new Resource(ResourceRequest(""), Resource::Raw); in TEST_F()
189 new FakeDecodedResource(ResourceRequest(""), Resource::Raw); in TEST_F()
258 new FakeDecodedResource(ResourceRequest(""), Resource::Raw); in TEST_F()
263 new FakeDecodedResource(ResourceRequest(""), Resource::Raw); in TEST_F()
310 new FakeDecodedResource(ResourceRequest(""), Resource::Raw); in TEST_F()
312 new FakeDecodedResource(ResourceRequest(""), Resource::Raw); in TEST_F()
DCrossOriginAccessControl.h53 void updateRequestForAccessControl(ResourceRequest&, SecurityOrigin*, StoredCredentials);
54 ResourceRequest createAccessControlPreflightRequest(const ResourceRequest&, SecurityOrigin*);
DFetchContext.cpp51 void FetchContext::addAdditionalRequestHeaders(Document&, ResourceRequest&, Resource::Type) in addAdditionalRequestHeaders() argument
60 void FetchContext::dispatchWillSendRequest(DocumentLoader*, unsigned long, ResourceRequest&, const … in dispatchWillSendRequest() argument
64 void FetchContext::dispatchDidLoadResourceFromMemoryCache(const ResourceRequest&, const ResourceRes… in dispatchDidLoadResourceFromMemoryCache() argument
DResourceFetcher.h150 …virtual void willSendRequest(unsigned long identifier, ResourceRequest&, const ResourceResponse& r…
157 virtual void willStartLoadingResource(ResourceRequest&) OVERRIDE;
160 …virtual bool shouldRequest(Resource*, const ResourceRequest&, const ResourceLoaderOptions&) OVERRI…
179 …RevalidationPolicy determineRevalidationPolicy(Resource::Type, ResourceRequest&, bool forPreload, …
181 void determineTargetType(ResourceRequest&, Resource::Type);
182 ResourceRequestCachePolicy resourceRequestCachePolicy(const ResourceRequest&, Resource::Type);
183 void addAdditionalRequestHeaders(ResourceRequest&, Resource::Type);
/external/chromium_org/third_party/WebKit/Source/core/workers/
DWorkerScriptLoader.cpp48 , m_targetType(ResourceRequest::TargetIsWorker) in WorkerScriptLoader()
60 OwnPtr<ResourceRequest> request(createResourceRequest()); in loadSynchronously()
82 OwnPtr<ResourceRequest> request(createResourceRequest()); in loadAsynchronously()
102 PassOwnPtr<ResourceRequest> WorkerScriptLoader::createResourceRequest() in createResourceRequest()
104 OwnPtr<ResourceRequest> request = adoptPtr(new ResourceRequest(m_url)); in createResourceRequest()
DWorkerScriptLoader.h42 class ResourceRequest; variable
79 void setTargetType(ResourceRequest::TargetType targetType) { m_targetType = targetType; } in setTargetType()
87 PassOwnPtr<ResourceRequest> createResourceRequest();
100 ResourceRequest::TargetType m_targetType;

123456