| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2     Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) | 2     Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) | 
| 3     Copyright (C) 2001 Dirk Mueller <mueller@kde.org> | 3     Copyright (C) 2001 Dirk Mueller <mueller@kde.org> | 
| 4     Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) | 4     Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) | 
| 5     Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. | 5     Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. | 
| 6 | 6 | 
| 7     This library is free software; you can redistribute it and/or | 7     This library is free software; you can redistribute it and/or | 
| 8     modify it under the terms of the GNU Library General Public | 8     modify it under the terms of the GNU Library General Public | 
| 9     License as published by the Free Software Foundation; either | 9     License as published by the Free Software Foundation; either | 
| 10     version 2 of the License, or (at your option) any later version. | 10     version 2 of the License, or (at your option) any later version. | 
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 72 | 72 | 
| 73   void reloadIfLoFiOrPlaceholderImage(ResourceFetcher*, | 73   void reloadIfLoFiOrPlaceholderImage(ResourceFetcher*, | 
| 74                                       ReloadLoFiOrPlaceholderPolicy); | 74                                       ReloadLoFiOrPlaceholderPolicy); | 
| 75 | 75 | 
| 76   void didAddClient(ResourceClient*) override; | 76   void didAddClient(ResourceClient*) override; | 
| 77 | 77 | 
| 78   ResourcePriority priorityFromObservers() override; | 78   ResourcePriority priorityFromObservers() override; | 
| 79 | 79 | 
| 80   void allClientsAndObserversRemoved() override; | 80   void allClientsAndObserversRemoved() override; | 
| 81 | 81 | 
|  | 82   bool canReuse(const FetchRequest&) const override; | 
|  | 83 | 
| 82   PassRefPtr<const SharedBuffer> resourceBuffer() const override; | 84   PassRefPtr<const SharedBuffer> resourceBuffer() const override; | 
| 83   void appendData(const char*, size_t) override; | 85   void appendData(const char*, size_t) override; | 
| 84   void error(const ResourceError&) override; | 86   void error(const ResourceError&) override; | 
| 85   void responseReceived(const ResourceResponse&, | 87   void responseReceived(const ResourceResponse&, | 
| 86                         std::unique_ptr<WebDataConsumerHandle>) override; | 88                         std::unique_ptr<WebDataConsumerHandle>) override; | 
| 87   void finish(double finishTime = 0.0) override; | 89   void finish(double finishTime = 0.0) override; | 
| 88 | 90 | 
| 89   // For compatibility, images keep loading even if there are HTTP errors. | 91   // For compatibility, images keep loading even if there are HTTP errors. | 
| 90   bool shouldIgnoreHTTPStatusCodeErrors() const override { return true; } | 92   bool shouldIgnoreHTTPStatusCodeErrors() const override { return true; } | 
| 91 | 93 | 
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 168 | 170 | 
| 169   Timer<ImageResource> m_flushTimer; | 171   Timer<ImageResource> m_flushTimer; | 
| 170   double m_lastFlushTime = 0.; | 172   double m_lastFlushTime = 0.; | 
| 171 }; | 173 }; | 
| 172 | 174 | 
| 173 DEFINE_RESOURCE_TYPE_CASTS(Image); | 175 DEFINE_RESOURCE_TYPE_CASTS(Image); | 
| 174 | 176 | 
| 175 }  // namespace blink | 177 }  // namespace blink | 
| 176 | 178 | 
| 177 #endif | 179 #endif | 
| OLD | NEW | 
|---|