/external/chromium_org/content/child/ |
D | web_url_request_util.cc | 10 using blink::WebURLRequest; 14 ResourceType WebURLRequestToResourceType(const WebURLRequest& request) { in WebURLRequestToResourceType() 15 WebURLRequest::RequestContext requestContext = request.requestContext(); in WebURLRequestToResourceType() 16 if (request.frameType() != WebURLRequest::FrameTypeNone) { in WebURLRequestToResourceType() 17 DCHECK(requestContext == WebURLRequest::RequestContextForm || in WebURLRequestToResourceType() 18 requestContext == WebURLRequest::RequestContextFrame || in WebURLRequestToResourceType() 19 requestContext == WebURLRequest::RequestContextHyperlink || in WebURLRequestToResourceType() 20 requestContext == WebURLRequest::RequestContextIframe || in WebURLRequestToResourceType() 21 requestContext == WebURLRequest::RequestContextInternal || in WebURLRequestToResourceType() 22 requestContext == WebURLRequest::RequestContextLocation); in WebURLRequestToResourceType() [all …]
|
D | web_url_loader_impl.cc | 59 using blink::WebURLRequest; 147 const WebURLRequest::Priority& priority) { in ConvertWebKitPriorityToNetPriority() 149 case WebURLRequest::PriorityVeryHigh: in ConvertWebKitPriorityToNetPriority() 152 case WebURLRequest::PriorityHigh: in ConvertWebKitPriorityToNetPriority() 155 case WebURLRequest::PriorityMedium: in ConvertWebKitPriorityToNetPriority() 158 case WebURLRequest::PriorityLow: in ConvertWebKitPriorityToNetPriority() 161 case WebURLRequest::PriorityVeryLow: in ConvertWebKitPriorityToNetPriority() 164 case WebURLRequest::PriorityUnresolved: in ConvertWebKitPriorityToNetPriority() 219 void DidChangePriority(WebURLRequest::Priority new_priority, 223 void Start(const WebURLRequest& request, [all …]
|
D | web_url_loader_impl.h | 36 const blink::WebURLRequest& request, in NON_EXPORTED_BASE() 41 const blink::WebURLRequest& request, in NON_EXPORTED_BASE() 45 virtual void didChangePriority(blink::WebURLRequest::Priority new_priority, in NON_EXPORTED_BASE()
|
/external/chromium_org/third_party/WebKit/Source/platform/exported/ |
D | WebURLRequest.cpp | 46 …static PassRefPtr<ExtraDataContainer> create(WebURLRequest::ExtraData* extraData) { return adoptRe… in create() 50 WebURLRequest::ExtraData* extraData() const { return m_extraData.get(); } in extraData() 53 explicit ExtraDataContainer(WebURLRequest::ExtraData* extraData) in ExtraDataContainer() 58 OwnPtr<WebURLRequest::ExtraData> m_extraData; 86 void WebURLRequest::initialize() in initialize() 91 void WebURLRequest::reset() in reset() 96 void WebURLRequest::assign(const WebURLRequest& r) in assign() 102 bool WebURLRequest::isNull() const in isNull() 107 WebURL WebURLRequest::url() const in url() 112 void WebURLRequest::setURL(const WebURL& url) in setURL() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/loader/ |
D | MixedContentChecker.cpp | 72 MixedContentChecker::ContextType MixedContentChecker::contextTypeFromContext(WebURLRequest::Request… in contextTypeFromContext() 76 case WebURLRequest::RequestContextAudio: in contextTypeFromContext() 77 case WebURLRequest::RequestContextFavicon: in contextTypeFromContext() 78 case WebURLRequest::RequestContextImage: in contextTypeFromContext() 79 case WebURLRequest::RequestContextVideo: in contextTypeFromContext() 83 case WebURLRequest::RequestContextBeacon: in contextTypeFromContext() 84 case WebURLRequest::RequestContextCSPReport: in contextTypeFromContext() 85 case WebURLRequest::RequestContextEmbed: in contextTypeFromContext() 86 case WebURLRequest::RequestContextFetch: in contextTypeFromContext() 87 case WebURLRequest::RequestContextFont: in contextTypeFromContext() [all …]
|
/external/chromium_org/content/renderer/npapi/ |
D | webplugin_impl_unittest.cc | 14 using blink::WebURLRequest; 20 std::string GetHeader(const WebURLRequest& request, const char* name) { in GetHeader() 29 std::string GetBodyText(const WebURLRequest& request) { in GetBodyText() 56 WebURLRequest request; in TEST() 70 WebURLRequest request; in TEST() 81 WebURLRequest request; in TEST() 104 WebURLRequest request; in TEST() 114 WebURLRequest request; in TEST() 128 WebURLRequest request; in TEST() 142 WebURLRequest request; in TEST() [all …]
|
/external/chromium_org/third_party/WebKit/public/platform/ |
D | WebURLRequest.h | 48 class WebURLRequest { 118 ~WebURLRequest() { reset(); } in ~WebURLRequest() 120 WebURLRequest() : m_private(0) { } in WebURLRequest() function 121 WebURLRequest(const WebURLRequest& r) : m_private(0) { assign(r); } in WebURLRequest() function 122 WebURLRequest& operator=(const WebURLRequest& r) 128 explicit WebURLRequest(const WebURL& url) : m_private(0) in WebURLRequest() function 136 BLINK_PLATFORM_EXPORT void assign(const WebURLRequest&);
|
D | WebURLLoader.h | 53 virtual void loadSynchronously(const WebURLRequest&, 59 virtual void loadAsynchronously(const WebURLRequest&, 72 virtual void didChangePriority(WebURLRequest::Priority newPriority) { } in didChangePriority() 73 …virtual void didChangePriority(WebURLRequest::Priority newPriority, int intraPriorityValue) { didC… in didChangePriority()
|
/external/chromium_org/content/renderer/ |
D | resource_fetcher_browsertest.cc | 25 using blink::WebURLRequest; 154 WebURLRequest::RequestContextInternal, in ResourceFetcherDownloadOnRenderer() 155 WebURLRequest::FrameTypeNone, in ResourceFetcherDownloadOnRenderer() 173 WebURLRequest::RequestContextInternal, in ResourceFetcher404OnRenderer() 174 WebURLRequest::FrameTypeNone, in ResourceFetcher404OnRenderer() 193 WebURLRequest::RequestContextInternal, in ResourceFetcherDidFailOnRenderer() 194 WebURLRequest::FrameTypeNone, in ResourceFetcherDidFailOnRenderer() 214 WebURLRequest::RequestContextInternal, in ResourceFetcherTimeoutOnRenderer() 215 WebURLRequest::FrameTypeNone, in ResourceFetcherTimeoutOnRenderer() 236 WebURLRequest::RequestContextInternal, in ResourceFetcherDeletedInCallbackOnRenderer() [all …]
|
D | internal_document_state_data.h | 80 blink::WebURLRequest::CachePolicy cache_policy) { in set_cache_policy_override() 84 blink::WebURLRequest::CachePolicy cache_policy_override() const { in cache_policy_override() 89 cache_policy_override_ = blink::WebURLRequest::UseProtocolCachePolicy; in clear_cache_policy_override() 108 blink::WebURLRequest::CachePolicy cache_policy_override_;
|
/external/chromium_org/content/test/ |
D | weburl_loader_mock_factory.h | 61 blink::WebURLRequest GetLastHandledAsynchronousRequest(); 67 void LoadSynchronously(const blink::WebURLRequest& request, 71 void LoadAsynchronouly(const blink::WebURLRequest& request, 86 void LoadRequest(const blink::WebURLRequest& request, 99 typedef std::map<WebURLLoaderMock*, blink::WebURLRequest> LoaderToRequestMap; 109 blink::WebURLRequest last_handled_asynchronous_request_;
|
D | weburl_loader_mock.h | 16 class WebURLRequest; variable 39 blink::WebURLRequest ServeRedirect( 43 virtual void loadSynchronously(const blink::WebURLRequest& request, 47 virtual void loadAsynchronously(const blink::WebURLRequest& request,
|
D | weburl_loader_mock.cc | 57 blink::WebURLRequest WebURLLoaderMock::ServeRedirect( in ServeRedirect() 59 blink::WebURLRequest newRequest; in ServeRedirect() 61 newRequest.setRequestContext(blink::WebURLRequest::RequestContextInternal); in ServeRedirect() 68 void WebURLLoaderMock::loadSynchronously(const blink::WebURLRequest& request, in loadSynchronously() 83 void WebURLLoaderMock::loadAsynchronously(const blink::WebURLRequest& request, in loadAsynchronously()
|
D | weburl_loader_mock_factory.cc | 23 using blink::WebURLRequest; 85 const WebURLRequest& request = iter->second; in ServeAsynchronousRequests() 94 WebURLRequest newRequest = loader->ServeRedirect(response); in ServeAsynchronousRequests() 109 blink::WebURLRequest 130 void WebURLLoaderMockFactory::LoadSynchronously(const WebURLRequest& request, in LoadSynchronously() 137 void WebURLLoaderMockFactory::LoadAsynchronouly(const WebURLRequest& request, in LoadAsynchronouly() 144 void WebURLLoaderMockFactory::LoadRequest(const WebURLRequest& request, in LoadRequest()
|
/external/chromium_org/third_party/WebKit/Source/core/fetch/ |
D | ResourceFetcher.cpp | 79 using blink::WebURLRequest; 201 static WebURLRequest::RequestContext requestContextFromType(const ResourceFetcher* fetcher, Resourc… in requestContextFromType() 206 return WebURLRequest::RequestContextIframe; in requestContextFromType() 208 return WebURLRequest::RequestContextHyperlink; in requestContextFromType() 212 return WebURLRequest::RequestContextStyle; in requestContextFromType() 214 return WebURLRequest::RequestContextScript; in requestContextFromType() 216 return WebURLRequest::RequestContextFont; in requestContextFromType() 218 return WebURLRequest::RequestContextImage; in requestContextFromType() 220 return WebURLRequest::RequestContextSubresource; in requestContextFromType() 222 return WebURLRequest::RequestContextImport; in requestContextFromType() [all …]
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
D | AssociatedURLLoaderTest.cpp | 125 …void willSendRequest(WebURLLoader* loader, WebURLRequest& newRequest, const WebURLResponse& redire… in willSendRequest() 190 WebURLRequest request; in CheckMethodFails() 206 WebURLRequest request; in CheckHeaderFails() 218 … void CheckFails(const WebURLRequest& request, WebURLLoaderOptions options = WebURLLoaderOptions()) in CheckFails() 242 WebURLRequest request; in CheckAccessControlHeaders() 280 WebURLRequest m_expectedNewRequest; 297 WebURLRequest request; in TEST_F() 321 WebURLRequest request; in TEST_F() 332 WebURLRequest request; in TEST_F() 358 WebURLRequest request; in TEST_F() [all …]
|
D | WebURLRequestTest.cpp | 41 class TestExtraData : public WebURLRequest::ExtraData { 59 WebURLRequest urlRequest; in TEST() 67 WebURLRequest otherUrlRequest = urlRequest; in TEST()
|
/external/chromium_org/third_party/WebKit/Source/platform/network/ |
D | ResourceRequest.h | 188 blink::WebURLRequest::RequestContext requestContext() const { return m_requestContext; } in requestContext() 189 …void setRequestContext(blink::WebURLRequest::RequestContext context) { m_requestContext = context;… in setRequestContext() 191 blink::WebURLRequest::FrameType frameType() const { return m_frameType; } in frameType() 192 void setFrameType(blink::WebURLRequest::FrameType frameType) { m_frameType = frameType; } in setFrameType() 227 blink::WebURLRequest::RequestContext m_requestContext; 228 blink::WebURLRequest::FrameType m_frameType; 264 blink::WebURLRequest::RequestContext m_requestContext; 265 blink::WebURLRequest::FrameType m_frameType;
|
D | ResourceRequestTest.cpp | 39 original.setRequestContext(WebURLRequest::RequestContextAudio); in TEST() 40 original.setFrameType(WebURLRequest::FrameTypeNested); in TEST() 60 EXPECT_EQ(WebURLRequest::RequestContextAudio, original.requestContext()); in TEST() 61 EXPECT_EQ(WebURLRequest::FrameTypeNested, original.frameType()); in TEST() 84 EXPECT_EQ(WebURLRequest::RequestContextAudio, copy1->requestContext()); in TEST() 85 EXPECT_EQ(WebURLRequest::FrameTypeNested, copy1->frameType()); in TEST()
|
/external/chromium_org/mojo/services/html_viewer/ |
D | blink_url_request_type_converters.h | 11 class WebURLRequest; variable 17 struct TypeConverter<URLRequestPtr, blink::WebURLRequest> { 18 static URLRequestPtr Convert(const blink::WebURLRequest& request);
|
D | weburlloader_impl.h | 18 class WebURLRequestExtraData : public blink::WebURLRequest::ExtraData { 35 const blink::WebURLRequest& request, blink::WebURLResponse& response, 38 const blink::WebURLRequest&, blink::WebURLLoaderClient* client) OVERRIDE;
|
/external/chromium_org/third_party/WebKit/public/web/ |
D | WebDataSource.h | 43 class WebURLRequest; variable 55 virtual const WebURLRequest& originalRequest() const = 0; 61 virtual const WebURLRequest& request() const = 0;
|
/external/chromium_org/content/renderer/fetchers/ |
D | multi_resolution_image_resource_fetcher.cc | 17 using blink::WebURLRequest; 26 WebURLRequest::RequestContext request_context, in MultiResolutionImageResourceFetcher() 36 WebURLRequest::FrameTypeNone, in MultiResolutionImageResourceFetcher()
|
D | image_resource_fetcher.cc | 18 using blink::WebURLRequest; 28 WebURLRequest::RequestContext request_context, in ImageResourceFetcher() 37 WebURLRequest::FrameTypeNone, in ImageResourceFetcher()
|
/external/chromium_org/chrome/renderer/ |
D | prefetch_helper.cc | 35 blink::WebURLRequest request(url); in OnPrefetch() 36 request.setRequestContext(blink::WebURLRequest::RequestContextPrefetch); in OnPrefetch() 37 request.setPriority(blink::WebURLRequest::PriorityVeryLow); in OnPrefetch()
|