diff options
author | Ben Murdoch <benm@google.com> | 2011-08-05 15:42:17 +0100 |
---|---|---|
committer | Ben Murdoch <benm@google.com> | 2011-08-05 15:50:19 +0100 |
commit | b03ba594dfb7cae54557397a2a86b0a926da4685 (patch) | |
tree | 1500e82f92fed8e60b7e033b15d53b9f65c23e3f /Source/WebKit/android/jni/WebCoreFrameBridge.h | |
parent | 6b9d05281a529f9cd3e527fb8d657b338bb4fd7a (diff) | |
download | external_webkit-b03ba594dfb7cae54557397a2a86b0a926da4685.zip external_webkit-b03ba594dfb7cae54557397a2a86b0a926da4685.tar.gz external_webkit-b03ba594dfb7cae54557397a2a86b0a926da4685.tar.bz2 |
Plumb a bool through to Java to supress auth dialog.
In the case of a prefetch or favicon load, we want to silently fail
auth loads but allow the use of cached credentials. To acheive this,
pass an extra flag through to Java to decide whether to show the
prompt or not.
Requires:
frameworks/base change: Ida5708aad7cbe5633106e9ae2997c9231aaf95b8
packages/apps/Browser change: Id901855830bbe17ede8a18293cff2bbc0aad4ba8
Bug: 5094761
Change-Id: If8c6f22e8307e1e13b8f7ad29f79305ce24b3255
Diffstat (limited to 'Source/WebKit/android/jni/WebCoreFrameBridge.h')
-rw-r--r-- | Source/WebKit/android/jni/WebCoreFrameBridge.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebKit/android/jni/WebCoreFrameBridge.h b/Source/WebKit/android/jni/WebCoreFrameBridge.h index 0a8fe8b..f02c1e9 100644 --- a/Source/WebKit/android/jni/WebCoreFrameBridge.h +++ b/Source/WebKit/android/jni/WebCoreFrameBridge.h @@ -115,7 +115,7 @@ class WebFrame : public WebCoreRefObject { float density() const; - void didReceiveAuthenticationChallenge(WebUrlLoaderClient*, const std::string& host, const std::string& realm, bool useCachedCredentials); + 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); |