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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 size_t subResourceCount() const; | 60 size_t subResourceCount() const; |
61 ArchiveResource* subResourceAt(size_t) const; | 61 ArchiveResource* subResourceAt(size_t) const; |
62 | 62 |
63 private: | 63 private: |
64 PassRefPtrWillBeRawPtr<MHTMLArchive> parseArchiveWithHeader(MIMEHeader*); | 64 PassRefPtrWillBeRawPtr<MHTMLArchive> parseArchiveWithHeader(MIMEHeader*); |
65 PassRefPtrWillBeRawPtr<ArchiveResource> parseNextPart(const MIMEHeader&, con
st String& endOfPartBoundary, const String& endOfDocumentBoundary, bool& endOfAr
chiveReached); | 65 PassRefPtrWillBeRawPtr<ArchiveResource> parseNextPart(const MIMEHeader&, con
st String& endOfPartBoundary, const String& endOfDocumentBoundary, bool& endOfAr
chiveReached); |
66 | 66 |
67 void addResourceToArchive(ArchiveResource*, MHTMLArchive*); | 67 void addResourceToArchive(ArchiveResource*, MHTMLArchive*); |
68 | 68 |
69 SharedBufferChunkReader m_lineReader; | 69 SharedBufferChunkReader m_lineReader; |
70 WillBeHeapVector<RefPtrWillBeMember<ArchiveResource> > m_resources; | 70 WillBeHeapVector<RefPtrWillBeMember<ArchiveResource>> m_resources; |
71 WillBeHeapVector<RefPtrWillBeMember<MHTMLArchive> > m_frames; | 71 WillBeHeapVector<RefPtrWillBeMember<MHTMLArchive>> m_frames; |
72 }; | 72 }; |
73 | 73 |
74 } | 74 } |
75 | 75 |
76 #endif | 76 #endif |
OLD | NEW |