summaryrefslogtreecommitdiffstats
path: root/WebKit/android/WebCoreSupport/WebResponse.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/android/WebCoreSupport/WebResponse.h')
-rw-r--r--WebKit/android/WebCoreSupport/WebResponse.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/WebKit/android/WebCoreSupport/WebResponse.h b/WebKit/android/WebCoreSupport/WebResponse.h
index f03e4bb..8bbfef5 100644
--- a/WebKit/android/WebCoreSupport/WebResponse.h
+++ b/WebKit/android/WebCoreSupport/WebResponse.h
@@ -52,7 +52,7 @@ public:
const std::string& getUrl() const;
void setUrl(const std::string&);
- const std::string& getMimeType() const;
+ const std::string& getMimeType(); // Use only on WebCore thread.
bool getHeader(const std::string& header, std::string* result) const;
long long getExpectedSize() const;
@@ -81,7 +81,6 @@ private:
// See RFC 822, 3.4.7, "CASE INDEPENDENCE".
std::map<std::string, std::string, CaseInsensitiveLessThan> m_headerFields;
- void setMimeType(const std::string &mimeType);
};
} // namespace android