| 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 | 5 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All |
| 6 rights reserved. | 6 rights reserved. |
| 7 | 7 |
| 8 This library is free software; you can redistribute it and/or | 8 This library is free software; you can redistribute it and/or |
| 9 modify it under the terms of the GNU Library General Public | 9 modify it under the terms of the GNU Library General Public |
| 10 License as published by the Free Software Foundation; either | 10 License as published by the Free Software Foundation; either |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 #include "wtf/Allocator.h" | 40 #include "wtf/Allocator.h" |
| 41 #include "wtf/AutoReset.h" | 41 #include "wtf/AutoReset.h" |
| 42 #include "wtf/HashCountedSet.h" | 42 #include "wtf/HashCountedSet.h" |
| 43 #include "wtf/HashSet.h" | 43 #include "wtf/HashSet.h" |
| 44 #include "wtf/text/WTFString.h" | 44 #include "wtf/text/WTFString.h" |
| 45 #include <memory> | 45 #include <memory> |
| 46 | 46 |
| 47 namespace blink { | 47 namespace blink { |
| 48 | 48 |
| 49 struct FetchInitiatorInfo; | 49 struct FetchInitiatorInfo; |
| 50 class CachedMetadata; | |
| 51 class FetchRequest; | 50 class FetchRequest; |
| 52 class ResourceClient; | 51 class ResourceClient; |
| 53 class ResourceTimingInfo; | 52 class ResourceTimingInfo; |
| 54 class ResourceLoader; | 53 class ResourceLoader; |
| 55 class SecurityOrigin; | 54 class SecurityOrigin; |
| 56 | 55 |
| 57 // A resource that is held in the cache. Classes who want to use this object | 56 // A resource that is held in the cache. Classes who want to use this object |
| 58 // should derive from ResourceClient, to get the function calls in case the | 57 // should derive from ResourceClient, to get the function calls in case the |
| 59 // requested data has arrived. This class also does the actual communication | 58 // requested data has arrived. This class also does the actual communication |
| 60 // with the loader to obtain the resource from the network. | 59 // with the loader to obtain the resource from the network. |
| (...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 492 }; | 491 }; |
| 493 | 492 |
| 494 #define DEFINE_RESOURCE_TYPE_CASTS(typeName) \ | 493 #define DEFINE_RESOURCE_TYPE_CASTS(typeName) \ |
| 495 DEFINE_TYPE_CASTS(typeName##Resource, Resource, resource, \ | 494 DEFINE_TYPE_CASTS(typeName##Resource, Resource, resource, \ |
| 496 resource->getType() == Resource::typeName, \ | 495 resource->getType() == Resource::typeName, \ |
| 497 resource.getType() == Resource::typeName); | 496 resource.getType() == Resource::typeName); |
| 498 | 497 |
| 499 } // namespace blink | 498 } // namespace blink |
| 500 | 499 |
| 501 #endif | 500 #endif |
| OLD | NEW |