OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 const ResourceResponse&) override; | 88 const ResourceResponse&) override; |
89 void DispatchDidReceiveResponse(unsigned long identifier, | 89 void DispatchDidReceiveResponse(unsigned long identifier, |
90 const ResourceResponse&, | 90 const ResourceResponse&, |
91 WebURLRequest::FrameType, | 91 WebURLRequest::FrameType, |
92 WebURLRequest::RequestContext, | 92 WebURLRequest::RequestContext, |
93 Resource*, | 93 Resource*, |
94 ResourceResponseType) override; | 94 ResourceResponseType) override; |
95 void DispatchDidReceiveData(unsigned long identifier, | 95 void DispatchDidReceiveData(unsigned long identifier, |
96 const char* data, | 96 const char* data, |
97 int data_length) override; | 97 int data_length) override; |
98 void DispatchDidReceiveEncodedData(unsigned long identifier, | |
99 int encoded_data_length) override; | |
100 void DispatchDidDownloadData(unsigned long identifier, | 98 void DispatchDidDownloadData(unsigned long identifier, |
101 int data_length, | 99 int data_length, |
102 int encoded_data_length) override; | 100 int encoded_data_length) override; |
103 void DispatchDidFinishLoading(unsigned long identifier, | 101 void DispatchDidFinishLoading(unsigned long identifier, |
104 double finish_time, | 102 double finish_time, |
105 int64_t encoded_data_length, | 103 int64_t encoded_data_length, |
106 int64_t decoded_body_length) override; | 104 int64_t decoded_body_length) override; |
107 void DispatchDidFail(unsigned long identifier, | 105 void DispatchDidFail(unsigned long identifier, |
108 const ResourceError&, | 106 const ResourceError&, |
109 int64_t encoded_data_length, | 107 int64_t encoded_data_length, |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 Document* GetDocument() const; | 163 Document* GetDocument() const; |
166 LocalFrame* GetFrame() const; | 164 LocalFrame* GetFrame() const; |
167 LocalFrameClient* GetLocalFrameClient() const; | 165 LocalFrameClient* GetLocalFrameClient() const; |
168 LocalFrame* FrameOfImportsController() const; | 166 LocalFrame* FrameOfImportsController() const; |
169 | 167 |
170 // BaseFetchContext overrides: | 168 // BaseFetchContext overrides: |
171 ContentSettingsClient* GetContentSettingsClient() const override; | 169 ContentSettingsClient* GetContentSettingsClient() const override; |
172 Settings* GetSettings() const override; | 170 Settings* GetSettings() const override; |
173 SubresourceFilter* GetSubresourceFilter() const override; | 171 SubresourceFilter* GetSubresourceFilter() const override; |
174 SecurityContext* GetParentSecurityContext() const override; | 172 SecurityContext* GetParentSecurityContext() const override; |
175 bool ShouldBlockRequestByInspector(const ResourceRequest&) const override; | |
176 void DispatchDidBlockRequest(const ResourceRequest&, | 173 void DispatchDidBlockRequest(const ResourceRequest&, |
177 const FetchInitiatorInfo&, | 174 const FetchInitiatorInfo&, |
178 ResourceRequestBlockedReason) const override; | 175 ResourceRequestBlockedReason) const override; |
179 void ReportLocalLoadFailed(const KURL&) const override; | 176 void ReportLocalLoadFailed(const KURL&) const override; |
180 bool ShouldBypassMainWorldCSP() const override; | 177 bool ShouldBypassMainWorldCSP() const override; |
181 bool IsSVGImageChromeClient() const override; | 178 bool IsSVGImageChromeClient() const override; |
182 void CountUsage(UseCounter::Feature) const override; | 179 void CountUsage(UseCounter::Feature) const override; |
183 void CountDeprecation(UseCounter::Feature) const override; | 180 void CountDeprecation(UseCounter::Feature) const override; |
184 bool ShouldBlockFetchByMixedContentCheck( | 181 bool ShouldBlockFetchByMixedContentCheck( |
185 const ResourceRequest&, | 182 const ResourceRequest&, |
186 const KURL&, | 183 const KURL&, |
187 SecurityViolationReportingPolicy) const override; | 184 SecurityViolationReportingPolicy) const override; |
188 | 185 |
189 Member<DocumentLoader> document_loader_; | 186 Member<DocumentLoader> document_loader_; |
190 }; | 187 }; |
191 | 188 |
192 } // namespace blink | 189 } // namespace blink |
193 | 190 |
194 #endif | 191 #endif |
OLD | NEW |