| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 Resource*, | 86 Resource*, |
| 87 WebURLRequest::FrameType, | 87 WebURLRequest::FrameType, |
| 88 WebURLRequest::RequestContext) override; | 88 WebURLRequest::RequestContext) 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*) override; | 93 Resource*) override; |
| 94 void dispatchDidReceiveData(unsigned long identifier, | 94 void dispatchDidReceiveData(unsigned long identifier, |
| 95 const char* data, | 95 const char* data, |
| 96 int dataLength, | 96 int dataLength) override; |
| 97 int encodedDataLength) override; | |
| 98 void dispatchDidDownloadData(unsigned long identifier, | 97 void dispatchDidDownloadData(unsigned long identifier, |
| 99 int dataLength, | 98 int dataLength, |
| 100 int encodedDataLength) override; | 99 int encodedDataLength) override; |
| 101 void dispatchDidFinishLoading(unsigned long identifier, | 100 void dispatchDidFinishLoading(unsigned long identifier, |
| 102 double finishTime, | 101 double finishTime, |
| 103 int64_t encodedDataLength) override; | 102 int64_t encodedDataLength) override; |
| 104 void dispatchDidFail(unsigned long identifier, | 103 void dispatchDidFail(unsigned long identifier, |
| 105 const ResourceError&, | 104 const ResourceError&, |
| 105 int64_t encodedDataLength, |
| 106 bool isInternalRequest) override; | 106 bool isInternalRequest) override; |
| 107 | 107 |
| 108 bool shouldLoadNewResource(Resource::Type) const override; | 108 bool shouldLoadNewResource(Resource::Type) const override; |
| 109 void willStartLoadingResource(unsigned long identifier, | 109 void willStartLoadingResource(unsigned long identifier, |
| 110 ResourceRequest&, | 110 ResourceRequest&, |
| 111 Resource::Type) override; | 111 Resource::Type) override; |
| 112 void didLoadResource(Resource*) override; | 112 void didLoadResource(Resource*) override; |
| 113 | 113 |
| 114 void addResourceTiming(const ResourceTimingInfo&) override; | 114 void addResourceTiming(const ResourceTimingInfo&) override; |
| 115 bool allowImage(bool imagesEnabled, const KURL&) const override; | 115 bool allowImage(bool imagesEnabled, const KURL&) const override; |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 // FIXME: Oilpan: Ideally this should just be a traced Member but that will | 181 // FIXME: Oilpan: Ideally this should just be a traced Member but that will |
| 182 // currently leak because ComputedStyle and its data are not on the heap. | 182 // currently leak because ComputedStyle and its data are not on the heap. |
| 183 // See crbug.com/383860 for details. | 183 // See crbug.com/383860 for details. |
| 184 WeakMember<Document> m_document; | 184 WeakMember<Document> m_document; |
| 185 Member<DocumentLoader> m_documentLoader; | 185 Member<DocumentLoader> m_documentLoader; |
| 186 }; | 186 }; |
| 187 | 187 |
| 188 } // namespace blink | 188 } // namespace blink |
| 189 | 189 |
| 190 #endif | 190 #endif |
| OLD | NEW |