OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008 Apple 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 15 matching lines...) Expand all Loading... |
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 */ | 27 */ |
28 | 28 |
29 #ifndef ArchiveResourceCollection_h | 29 #ifndef ArchiveResourceCollection_h |
30 #define ArchiveResourceCollection_h | 30 #define ArchiveResourceCollection_h |
31 | 31 |
32 #include "platform/heap/Handle.h" | 32 #include "platform/heap/Handle.h" |
33 #include "wtf/HashMap.h" | 33 #include "wtf/HashMap.h" |
34 #include "wtf/text/WTFString.h" | 34 #include "wtf/text/WTFString.h" |
35 | 35 |
36 namespace WebCore { | 36 namespace blink { |
37 | 37 |
38 class ArchiveResource; | 38 class ArchiveResource; |
39 class KURL; | 39 class KURL; |
40 class MHTMLArchive; | 40 class MHTMLArchive; |
41 | 41 |
42 class PLATFORM_EXPORT ArchiveResourceCollection FINAL : public NoBaseWillBeGarba
geCollectedFinalized<ArchiveResourceCollection> { | 42 class PLATFORM_EXPORT ArchiveResourceCollection FINAL : public NoBaseWillBeGarba
geCollectedFinalized<ArchiveResourceCollection> { |
43 WTF_MAKE_NONCOPYABLE(ArchiveResourceCollection); WTF_MAKE_FAST_ALLOCATED_WIL
L_BE_REMOVED; | 43 WTF_MAKE_NONCOPYABLE(ArchiveResourceCollection); WTF_MAKE_FAST_ALLOCATED_WIL
L_BE_REMOVED; |
44 public: | 44 public: |
45 static PassOwnPtrWillBeRawPtr<ArchiveResourceCollection> create() | 45 static PassOwnPtrWillBeRawPtr<ArchiveResourceCollection> create() |
46 { | 46 { |
(...skipping 13 matching lines...) Expand all Loading... |
60 private: | 60 private: |
61 ArchiveResourceCollection(); | 61 ArchiveResourceCollection(); |
62 | 62 |
63 WillBeHeapHashMap<String, RefPtrWillBeMember<ArchiveResource> > m_subresourc
es; | 63 WillBeHeapHashMap<String, RefPtrWillBeMember<ArchiveResource> > m_subresourc
es; |
64 WillBeHeapHashMap<String, RefPtrWillBeMember<MHTMLArchive> > m_subframes; | 64 WillBeHeapHashMap<String, RefPtrWillBeMember<MHTMLArchive> > m_subframes; |
65 }; | 65 }; |
66 | 66 |
67 } | 67 } |
68 | 68 |
69 #endif | 69 #endif |
OLD | NEW |