diff options
Diffstat (limited to 'webkit/glue/webresponse.h')
-rw-r--r-- | webkit/glue/webresponse.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/webkit/glue/webresponse.h b/webkit/glue/webresponse.h index 9d087c05..1fdf97d 100644 --- a/webkit/glue/webresponse.h +++ b/webkit/glue/webresponse.h @@ -19,6 +19,9 @@ class WebResponse { // Get the http status code. virtual int GetHttpStatusCode() const = 0; + // Returns the mime type of the response. + virtual std::string GetMimeType() const = 0; + // Returns an opaque value containing the state of the SSL connection that // the resource was loaded on, or an empty string if no SSL connection was // used. @@ -28,11 +31,7 @@ class WebResponse { // security reasons). virtual bool IsContentFiltered() const = 0; - WebResponse() { } - virtual ~WebResponse() { } - -private: - DISALLOW_EVIL_CONSTRUCTORS(WebResponse); + virtual ~WebResponse() {} }; #endif // #ifndef WEBKIT_GLUE_WEBURLRESPONSE_H_ |