| 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, 2008, 2009, 2010, 2011 Apple Inc. All
rights reserved. | 5 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 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 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 } | 298 } |
| 299 | 299 |
| 300 ResourceRequest m_request; | 300 ResourceRequest m_request; |
| 301 ResourceResponse m_redirectResponse; | 301 ResourceResponse m_redirectResponse; |
| 302 }; | 302 }; |
| 303 const Vector<RedirectPair>& redirectChain() const { return m_redirectChain;
} | 303 const Vector<RedirectPair>& redirectChain() const { return m_redirectChain;
} |
| 304 | 304 |
| 305 virtual bool isSafeToUnlock() const { return false; } | 305 virtual bool isSafeToUnlock() const { return false; } |
| 306 virtual void destroyDecodedDataIfPossible() { } | 306 virtual void destroyDecodedDataIfPossible() { } |
| 307 | 307 |
| 308 void markClientsFinished(); | 308 virtual void markClientsAndObserversFinished(); |
| 309 | 309 |
| 310 // Returns the memory dump name used for tracing. See Resource::onMemoryDump
. | 310 // Returns the memory dump name used for tracing. See Resource::onMemoryDump
. |
| 311 String getMemoryDumpName() const; | 311 String getMemoryDumpName() const; |
| 312 | 312 |
| 313 ResourceRequest m_resourceRequest; | 313 ResourceRequest m_resourceRequest; |
| 314 ResourceRequest m_revalidatingRequest; | 314 ResourceRequest m_revalidatingRequest; |
| 315 AtomicString m_accept; | 315 AtomicString m_accept; |
| 316 Member<ResourceLoader> m_loader; | 316 Member<ResourceLoader> m_loader; |
| 317 ResourceLoaderOptions m_options; | 317 ResourceLoaderOptions m_options; |
| 318 | 318 |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 388 Resource::Type m_type; | 388 Resource::Type m_type; |
| 389 }; | 389 }; |
| 390 | 390 |
| 391 #define DEFINE_RESOURCE_TYPE_CASTS(typeName) \ | 391 #define DEFINE_RESOURCE_TYPE_CASTS(typeName) \ |
| 392 DEFINE_TYPE_CASTS(typeName##Resource, Resource, resource, resource->getType(
) == Resource::typeName, resource.getType() == Resource::typeName); \ | 392 DEFINE_TYPE_CASTS(typeName##Resource, Resource, resource, resource->getType(
) == Resource::typeName, resource.getType() == Resource::typeName); \ |
| 393 inline typeName##Resource* to##typeName##Resource(const RawPtr<Resource>& pt
r) { return to##typeName##Resource(ptr.get()); } | 393 inline typeName##Resource* to##typeName##Resource(const RawPtr<Resource>& pt
r) { return to##typeName##Resource(ptr.get()); } |
| 394 | 394 |
| 395 } // namespace blink | 395 } // namespace blink |
| 396 | 396 |
| 397 #endif | 397 #endif |
| OLD | NEW |