summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android/jni/WebCoreFrameBridge.h
diff options
context:
space:
mode:
authorSelim Gurun <sgurun@google.com>2012-08-29 10:21:24 -0700
committerSelim Gurun <sgurun@google.com>2012-08-29 10:21:24 -0700
commitfd1365ed14367fb8af3b0ba958f268b1e9491e6e (patch)
tree618f4ec284eaac60003010387208d57fc6628965 /Source/WebKit/android/jni/WebCoreFrameBridge.h
parentbb7f19e094c0208180bc6f9c1b803cd29c507c8f (diff)
downloadexternal_webkit-fd1365ed14367fb8af3b0ba958f268b1e9491e6e.zip
external_webkit-fd1365ed14367fb8af3b0ba958f268b1e9491e6e.tar.gz
external_webkit-fd1365ed14367fb8af3b0ba958f268b1e9491e6e.tar.bz2
Provide referer when download requested
Bug: 6662557 Provide the plumbing for passing referer for downloads. Change-Id: Ia4af34632be5e5df44b7d19501db1b589c45cddf
Diffstat (limited to 'Source/WebKit/android/jni/WebCoreFrameBridge.h')
-rw-r--r--Source/WebKit/android/jni/WebCoreFrameBridge.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebKit/android/jni/WebCoreFrameBridge.h b/Source/WebKit/android/jni/WebCoreFrameBridge.h
index 30c1d83..56b095b 100644
--- a/Source/WebKit/android/jni/WebCoreFrameBridge.h
+++ b/Source/WebKit/android/jni/WebCoreFrameBridge.h
@@ -116,7 +116,7 @@ class WebFrame : public WebCoreRefObject {
void didReceiveAuthenticationChallenge(WebUrlLoaderClient*, const std::string& host, const std::string& realm, bool useCachedCredentials, bool suppressDialog);
void reportSslCertError(WebUrlLoaderClient* client, int cert_error, const std::string& cert, const std::string& url);
void requestClientCert(WebUrlLoaderClient* client, const std::string& hostAndPort);
- void downloadStart(const std::string& url, const std::string& userAgent, const std::string& contentDisposition, const std::string& mimetype, long long contentLength);
+ void downloadStart(const std::string& url, const std::string& userAgent, const std::string& contentDisposition, const std::string& mimetype, const std::string& referer, long long contentLength);
void didReceiveData(const char* data, int size);
void didFinishLoading();
void setCertificate(const std::string& cert);