| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 int dataLength, | 96 int dataLength, |
| 97 int encodedDataLength) override; | 97 int encodedDataLength) override; |
| 98 void dispatchDidDownloadData(unsigned long identifier, | 98 void dispatchDidDownloadData(unsigned long identifier, |
| 99 int dataLength, | 99 int dataLength, |
| 100 int encodedDataLength) override; | 100 int encodedDataLength) override; |
| 101 void dispatchDidFinishLoading(unsigned long identifier, | 101 void dispatchDidFinishLoading(unsigned long identifier, |
| 102 double finishTime, | 102 double finishTime, |
| 103 int64_t encodedDataLength) override; | 103 int64_t encodedDataLength) override; |
| 104 void dispatchDidFail(unsigned long identifier, | 104 void dispatchDidFail(unsigned long identifier, |
| 105 const ResourceError&, | 105 const ResourceError&, |
| 106 bool isInternalRequest) override; | 106 bool isInternalRequest, |
| 107 bool isDecodeError) override; |
| 107 | 108 |
| 108 bool shouldLoadNewResource(Resource::Type) const override; | 109 bool shouldLoadNewResource(Resource::Type) const override; |
| 109 void willStartLoadingResource(unsigned long identifier, | 110 void willStartLoadingResource(unsigned long identifier, |
| 110 ResourceRequest&, | 111 ResourceRequest&, |
| 111 Resource::Type) override; | 112 Resource::Type) override; |
| 112 void didLoadResource(Resource*) override; | 113 void didLoadResource(Resource*) override; |
| 113 | 114 |
| 114 void addResourceTiming(const ResourceTimingInfo&) override; | 115 void addResourceTiming(const ResourceTimingInfo&) override; |
| 115 bool allowImage(bool imagesEnabled, const KURL&) const override; | 116 bool allowImage(bool imagesEnabled, const KURL&) const override; |
| 116 bool canRequest(Resource::Type, | 117 bool canRequest(Resource::Type, |
| (...skipping 64 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 | 182 // 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. | 183 // currently leak because ComputedStyle and its data are not on the heap. |
| 183 // See crbug.com/383860 for details. | 184 // See crbug.com/383860 for details. |
| 184 WeakMember<Document> m_document; | 185 WeakMember<Document> m_document; |
| 185 Member<DocumentLoader> m_documentLoader; | 186 Member<DocumentLoader> m_documentLoader; |
| 186 }; | 187 }; |
| 187 | 188 |
| 188 } // namespace blink | 189 } // namespace blink |
| 189 | 190 |
| 190 #endif | 191 #endif |
| OLD | NEW |