Home | History | Annotate | Download | only in login

Lines Matching defs:LoginHandler

34 // Helper to remove the ref from an net::URLRequest to the LoginHandler.
71 // LoginHandler
73 LoginHandler::LoginHandler(net::AuthChallengeInfo* auth_info,
84 DCHECK(request_) << "LoginHandler constructed with NULL request";
85 DCHECK(auth_info_) << "LoginHandler constructed with NULL auth info";
87 AddRef(); // matched by LoginHandler::ReleaseSoon().
91 NewRunnableMethod(this, &LoginHandler::AddObservers));
99 LoginHandler::~LoginHandler() {
103 void LoginHandler::SetPasswordForm(const webkit_glue::PasswordForm& form) {
107 void LoginHandler::SetPasswordManager(PasswordManager* password_manager) {
111 TabContents* LoginHandler::GetTabContentsForLogin() const {
118 RenderViewHostDelegate* LoginHandler::GetRenderViewHostDelegate() const {
127 void LoginHandler::SetAuth(const string16& username,
142 // allows other LoginHandler instances to queue their
151 NewRunnableMethod(this, &LoginHandler::CloseContentsDeferred));
155 this, &LoginHandler::SetAuthDeferred, username, password));
158 void LoginHandler::CancelAuth() {
168 NewRunnableMethod(this, &LoginHandler::NotifyAuthCancelled));
173 NewRunnableMethod(this, &LoginHandler::CloseContentsDeferred));
176 NewRunnableMethod(this, &LoginHandler::CancelAuthDeferred));
179 void LoginHandler::OnRequestCancelled() {
190 void LoginHandler::AddObservers() {
199 void LoginHandler::RemoveObservers() {
210 void LoginHandler::Observe(NotificationType type,
247 void LoginHandler::SetModel(LoginModel* model) {
255 void LoginHandler::SetDialog(ConstrainedWindow* dialog) {
259 void LoginHandler::NotifyAuthNeeded() {
278 void LoginHandler::NotifyAuthCancelled() {
296 void LoginHandler::NotifyAuthSupplied(const string16& username,
314 void LoginHandler::ReleaseSoon() {
318 NewRunnableMethod(this, &LoginHandler::CancelAuthDeferred));
321 NewRunnableMethod(this, &LoginHandler::NotifyAuthCancelled));
326 NewRunnableMethod(this, &LoginHandler::RemoveObservers));
333 bool LoginHandler::WasAuthHandled() const {
340 bool LoginHandler::TestAndSetAuthHandled() {
348 void LoginHandler::SetAuthDeferred(const string16& username,
359 void LoginHandler::CancelAuthDeferred() {
371 void LoginHandler::CloseContentsDeferred() {
383 // a LoginView to prompt the user. The response will be sent to LoginHandler,
389 LoginHandler* handler)
467 LoginHandler* handler_;
475 LoginHandler* CreateLoginPrompt(net::AuthChallengeInfo* auth_info,
477 LoginHandler* handler = LoginHandler::Create(auth_info, request);