diff options
author | Steve Block <steveblock@google.com> | 2011-10-12 18:44:42 +0100 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2011-10-12 18:50:57 +0100 |
commit | 86e39ed5e93bcfd8d2868a0fcb955eb1e465bcae (patch) | |
tree | 7fd3b7559ab1173e41ad242406fb7a0678c91ebb /Source/WebKit/android/jni/WebCoreFrameBridge.h | |
parent | 6cf7e07ab895af6265850c3df2da05a09977e9a0 (diff) | |
download | external_webkit-86e39ed5e93bcfd8d2868a0fcb955eb1e465bcae.zip external_webkit-86e39ed5e93bcfd8d2868a0fcb955eb1e465bcae.tar.gz external_webkit-86e39ed5e93bcfd8d2868a0fcb955eb1e465bcae.tar.bz2 |
Correctly guard WebFrame methods needed only with the Chromium HTTP stack
This fixes the break in builds which use the Android HTTP stack.
Change-Id: I0feb885754c34e96216c8e0c28390808f424534e
Diffstat (limited to 'Source/WebKit/android/jni/WebCoreFrameBridge.h')
-rw-r--r-- | Source/WebKit/android/jni/WebCoreFrameBridge.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Source/WebKit/android/jni/WebCoreFrameBridge.h b/Source/WebKit/android/jni/WebCoreFrameBridge.h index 2b3f5bd..eaee63c 100644 --- a/Source/WebKit/android/jni/WebCoreFrameBridge.h +++ b/Source/WebKit/android/jni/WebCoreFrameBridge.h @@ -117,21 +117,18 @@ class WebFrame : public WebCoreRefObject { float density() const; +#if USE(CHROME_NETWORK_STACK) 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 didReceiveData(const char* data, int size); - void didFinishLoading(); + void setCertificate(const std::string& cert); +#endif void maybeSavePassword(WebCore::Frame* frame, const WebCore::ResourceRequest& request); - void setCertificate(const std::string& cert); // Parse the x-auto-login header and propagate the parameters to the // application. |