| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 unsigned long identifier() const { return m_identifier; } | 45 unsigned long identifier() const { return m_identifier; } |
| 46 | 46 |
| 47 void clear(); | 47 void clear(); |
| 48 | 48 |
| 49 virtual bool canReuse(const ResourceRequest&) const; | 49 virtual bool canReuse(const ResourceRequest&) const; |
| 50 | 50 |
| 51 virtual void reportMemoryUsage(MemoryObjectInfo*) const OVERRIDE; | 51 virtual void reportMemoryUsage(MemoryObjectInfo*) const OVERRIDE; |
| 52 | 52 |
| 53 private: | 53 private: |
| 54 virtual void didAddClient(CachedResourceClient*); | 54 virtual void didAddClient(CachedResourceClient*); |
| 55 virtual void data(PassRefPtr<ResourceBuffer> data, bool allDataReceived); | 55 virtual void data(PassRefPtr<ResourceBuffer> data) OVERRIDE; |
| 56 | 56 |
| 57 virtual bool shouldIgnoreHTTPStatusCodeErrors() const { return true; } | 57 virtual bool shouldIgnoreHTTPStatusCodeErrors() const { return true; } |
| 58 virtual void allClientsRemoved(); | 58 virtual void allClientsRemoved(); |
| 59 | 59 |
| 60 virtual void willSendRequest(ResourceRequest&, const ResourceResponse&); | 60 virtual void willSendRequest(ResourceRequest&, const ResourceResponse&); |
| 61 virtual void responseReceived(const ResourceResponse&); | 61 virtual void responseReceived(const ResourceResponse&); |
| 62 virtual void didSendData(unsigned long long bytesSent, unsigned long long to
talBytesToBeSent); | 62 virtual void didSendData(unsigned long long bytesSent, unsigned long long to
talBytesToBeSent); |
| 63 virtual void didDownloadData(int); | 63 virtual void didDownloadData(int); |
| 64 | 64 |
| 65 virtual void switchClientsToRevalidatedResource() OVERRIDE; | 65 virtual void switchClientsToRevalidatedResource() OVERRIDE; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 91 virtual void dataSent(CachedResource*, unsigned long long /* bytesSent */, u
nsigned long long /* totalBytesToBeSent */) { } | 91 virtual void dataSent(CachedResource*, unsigned long long /* bytesSent */, u
nsigned long long /* totalBytesToBeSent */) { } |
| 92 virtual void responseReceived(CachedResource*, const ResourceResponse&) { } | 92 virtual void responseReceived(CachedResource*, const ResourceResponse&) { } |
| 93 virtual void dataReceived(CachedResource*, const char* /* data */, int /* le
ngth */) { } | 93 virtual void dataReceived(CachedResource*, const char* /* data */, int /* le
ngth */) { } |
| 94 virtual void redirectReceived(CachedResource*, ResourceRequest&, const Resou
rceResponse&) { } | 94 virtual void redirectReceived(CachedResource*, ResourceRequest&, const Resou
rceResponse&) { } |
| 95 virtual void dataDownloaded(CachedResource*, int) { } | 95 virtual void dataDownloaded(CachedResource*, int) { } |
| 96 }; | 96 }; |
| 97 | 97 |
| 98 } | 98 } |
| 99 | 99 |
| 100 #endif // CachedRawResource_h | 100 #endif // CachedRawResource_h |
| OLD | NEW |