Pass auth_info and request in "login" event

This commit is contained in:
Cheng Zhao 2015-10-28 20:13:06 +08:00
parent d05255179a
commit 131531219e
6 changed files with 75 additions and 19 deletions

View file

@ -26,6 +26,9 @@ class LoginHandler : public content::ResourceDispatcherHostLoginDelegate {
// Login with |username| and |password|, must be called on UI thread.
void Login(const base::string16& username, const base::string16& password);
const net::AuthChallengeInfo* auth_info() const { return auth_info_.get(); }
const net::URLRequest* request() const { return request_; }
protected:
~LoginHandler() override;