diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-12 22:50:54 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-12 22:50:54 +0000 |
commit | 9d806f57abc6b55a5decad8b230b1f8c31c692ba (patch) | |
tree | 2d2d2a8c0be9c543da908b5dadf4a3c5062bc72b /webkit/glue/webresponse.h | |
parent | 56d01f63dc6ddb958dd8ce1d0c711ed87c3f0180 (diff) | |
download | chromium_src-9d806f57abc6b55a5decad8b230b1f8c31c692ba.zip chromium_src-9d806f57abc6b55a5decad8b230b1f8c31c692ba.tar.gz chromium_src-9d806f57abc6b55a5decad8b230b1f8c31c692ba.tar.bz2 |
Some minor cleanup in WebDataSource and WebResponse.
R=dglazkov
Review URL: http://codereview.chromium.org/42156
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11591 0039d316-1c4b-4281-b951-d872f2087c98
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_ |