diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/fetch/ScriptResource.h')
-rw-r--r-- | chromium/third_party/WebKit/Source/core/fetch/ScriptResource.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/chromium/third_party/WebKit/Source/core/fetch/ScriptResource.h b/chromium/third_party/WebKit/Source/core/fetch/ScriptResource.h index 09502e3eddf..53d9b4e6e19 100644 --- a/chromium/third_party/WebKit/Source/core/fetch/ScriptResource.h +++ b/chromium/third_party/WebKit/Source/core/fetch/ScriptResource.h @@ -26,14 +26,11 @@ #ifndef ScriptResource_h #define ScriptResource_h -#include "core/fetch/ResourcePtr.h" +#include "core/fetch/TextResource.h" namespace WebCore { -class ResourceFetcher; -class TextResourceDecoder; - -class ScriptResource : public Resource { +class ScriptResource FINAL : public TextResource { public: typedef ResourceClient ClientType; @@ -42,15 +39,12 @@ public: const String& script(); - virtual void setEncoding(const String&); - virtual String encoding() const; AtomicString mimeType() const; bool mimeTypeAllowedByNosniff() const; private: AtomicString m_script; - OwnPtr<TextResourceDecoder> m_decoder; }; DEFINE_RESOURCE_TYPE_CASTS(Script); |