OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 28 matching lines...) Expand all Loading... |
39 | 39 |
40 namespace blink { | 40 namespace blink { |
41 | 41 |
42 class ArchiveResource; | 42 class ArchiveResource; |
43 class KURL; | 43 class KURL; |
44 class MHTMLParser; | 44 class MHTMLParser; |
45 class SharedBuffer; | 45 class SharedBuffer; |
46 | 46 |
47 struct SerializedResource; | 47 struct SerializedResource; |
48 | 48 |
49 class PLATFORM_EXPORT MHTMLArchive FINAL : public RefCountedWillBeGarbageCollect
edFinalized<MHTMLArchive> { | 49 class PLATFORM_EXPORT MHTMLArchive final : public RefCountedWillBeGarbageCollect
edFinalized<MHTMLArchive> { |
50 public: | 50 public: |
51 static PassRefPtrWillBeRawPtr<MHTMLArchive> create(); | 51 static PassRefPtrWillBeRawPtr<MHTMLArchive> create(); |
52 static PassRefPtrWillBeRawPtr<MHTMLArchive> create(const KURL&, SharedBuffer
*); | 52 static PassRefPtrWillBeRawPtr<MHTMLArchive> create(const KURL&, SharedBuffer
*); |
53 ~MHTMLArchive(); | 53 ~MHTMLArchive(); |
54 | 54 |
55 enum EncodingPolicy { | 55 enum EncodingPolicy { |
56 UseDefaultEncoding, | 56 UseDefaultEncoding, |
57 UseBinaryEncoding | 57 UseBinaryEncoding |
58 }; | 58 }; |
59 | 59 |
(...skipping 23 matching lines...) Expand all Loading... |
83 #endif | 83 #endif |
84 | 84 |
85 RefPtrWillBeMember<ArchiveResource> m_mainResource; | 85 RefPtrWillBeMember<ArchiveResource> m_mainResource; |
86 SubArchiveResources m_subresources; | 86 SubArchiveResources m_subresources; |
87 SubFrameArchives m_subframeArchives; | 87 SubFrameArchives m_subframeArchives; |
88 }; | 88 }; |
89 | 89 |
90 } | 90 } |
91 | 91 |
92 #endif | 92 #endif |
OLD | NEW |