diff options
Diffstat (limited to 'core/java/android/webkit/HttpAuthHandler.java')
| -rw-r--r-- | core/java/android/webkit/HttpAuthHandler.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/core/java/android/webkit/HttpAuthHandler.java b/core/java/android/webkit/HttpAuthHandler.java index 621660390c58..6a8d88d58296 100644 --- a/core/java/android/webkit/HttpAuthHandler.java +++ b/core/java/android/webkit/HttpAuthHandler.java @@ -267,4 +267,14 @@ public class HttpAuthHandler extends Handler { proxy.onReceivedHttpAuthRequest(this, hostname, realm); } } + + /** + * Informs the proxy of a new set of credentials. + * @hide Pending API council review + */ + public static void onReceivedCredentials(LoadListener loader, + String host, String realm, String username, String password) { + CallbackProxy proxy = loader.getFrame().getCallbackProxy(); + proxy.onReceivedHttpAuthCredentials(host, realm, username, password); + } } |
