| Index: Source/WebCore/loader/DataUriResource.h
|
| diff --git a/Source/WebCore/loader/archive/ArchiveResource.h b/Source/WebCore/loader/DataUriResource.h
|
| similarity index 68%
|
| copy from Source/WebCore/loader/archive/ArchiveResource.h
|
| copy to Source/WebCore/loader/DataUriResource.h
|
| index 97d6e32f7d205c2c64ec7a37d5e99d5ba810c16a..658d6c866891f9bf482a25a183c4330f34b624bd 100644
|
| --- a/Source/WebCore/loader/archive/ArchiveResource.h
|
| +++ b/Source/WebCore/loader/DataUriResource.h
|
| @@ -26,37 +26,29 @@
|
| * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef ArchiveResource_h
|
| -#define ArchiveResource_h
|
| +#ifndef DataUriResource_h
|
| +#define DataUriResource_h
|
|
|
| #include "SubstituteResource.h"
|
|
|
| namespace WebCore {
|
|
|
| -class ArchiveResource : public SubstituteResource {
|
| +class DataUriResource : public SubstituteResource {
|
| public:
|
| - static PassRefPtr<ArchiveResource> create(PassRefPtr<SharedBuffer>, const KURL&, const ResourceResponse&);
|
| - static PassRefPtr<ArchiveResource> create(PassRefPtr<SharedBuffer>, const KURL&,
|
| - const String& mimeType, const String& textEncoding, const String& frameName,
|
| - const ResourceResponse& = ResourceResponse());
|
| + static PassRefPtr<DataUriResource> create(PassRefPtr<SharedBuffer>, const KURL&, const ResourceResponse&);
|
| + static PassRefPtr<DataUriResource> create(PassRefPtr<SharedBuffer>, const KURL&, const String& mimeType,
|
| + const String& textEncoding, const ResourceResponse& = ResourceResponse());
|
|
|
| const String& mimeType() const { return m_mimeType; }
|
| const String& textEncoding() const { return m_textEncoding; }
|
| - const String& frameName() const { return m_frameName; }
|
| -
|
| - void ignoreWhenUnarchiving() { m_shouldIgnoreWhenUnarchiving = true; }
|
| - bool shouldIgnoreWhenUnarchiving() const { return m_shouldIgnoreWhenUnarchiving; }
|
|
|
| private:
|
| - ArchiveResource(PassRefPtr<SharedBuffer>, const KURL&, const String& mimeType, const String& textEncoding, const String& frameName, const ResourceResponse&);
|
| + DataUriResource(PassRefPtr<SharedBuffer>, const KURL&, const String& mimeType, const String& textEncoding, const ResourceResponse&);
|
|
|
| String m_mimeType;
|
| String m_textEncoding;
|
| - String m_frameName;
|
| -
|
| - bool m_shouldIgnoreWhenUnarchiving;
|
| };
|
|
|
| }
|
|
|
| -#endif // ArchiveResource_h
|
| +#endif // DataUriResource_h
|
|
|