Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(520)

Side by Side Diff: components/password_manager/content/browser/credential_manager_dispatcher.h

Issue 1832933002: Update the |skip_zero_click| flag of a credential when selected in the account chooser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_CREDENTIAL_MANAGER_D ISPATCHER_H_ 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_CREDENTIAL_MANAGER_D ISPATCHER_H_
6 #define COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_CREDENTIAL_MANAGER_D ISPATCHER_H_ 6 #define COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_CREDENTIAL_MANAGER_D ISPATCHER_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 bool include_passwords, 61 bool include_passwords,
62 const std::vector<GURL>& federations); 62 const std::vector<GURL>& federations);
63 63
64 // content::WebContentsObserver implementation. 64 // content::WebContentsObserver implementation.
65 bool OnMessageReceived(const IPC::Message& message) override; 65 bool OnMessageReceived(const IPC::Message& message) override;
66 66
67 // CredentialManagerPendingRequestTaskDelegate: 67 // CredentialManagerPendingRequestTaskDelegate:
68 bool IsZeroClickAllowed() const override; 68 bool IsZeroClickAllowed() const override;
69 GURL GetOrigin() const override; 69 GURL GetOrigin() const override;
70 void SendCredential(int request_id, const CredentialInfo& info) override; 70 void SendCredential(int request_id, const CredentialInfo& info) override;
71 void SendPasswordForm(int request_id,
72 const autofill::PasswordForm* form) override;
71 PasswordManagerClient* client() const override; 73 PasswordManagerClient* client() const override;
72 autofill::PasswordForm GetSynthesizedFormForOrigin() const override; 74 autofill::PasswordForm GetSynthesizedFormForOrigin() const override;
73 75
74 // CredentialManagerPendingSignedOutTaskDelegate: 76 // CredentialManagerPendingSignedOutTaskDelegate:
75 PasswordStore* GetPasswordStore() override; 77 PasswordStore* GetPasswordStore() override;
76 void DoneRequiringUserMediation() override; 78 void DoneRequiringUserMediation() override;
77 79
78 // CredentialManagerPasswordFormManagerDelegate: 80 // CredentialManagerPasswordFormManagerDelegate:
79 void OnProvisionalSaveComplete() override; 81 void OnProvisionalSaveComplete() override;
80 82
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 pending_require_user_mediation_; 119 pending_require_user_mediation_;
118 120
119 base::WeakPtrFactory<CredentialManagerDispatcher> weak_factory_; 121 base::WeakPtrFactory<CredentialManagerDispatcher> weak_factory_;
120 122
121 DISALLOW_COPY_AND_ASSIGN(CredentialManagerDispatcher); 123 DISALLOW_COPY_AND_ASSIGN(CredentialManagerDispatcher);
122 }; 124 };
123 125
124 } // namespace password_manager 126 } // namespace password_manager
125 127
126 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_CREDENTIAL_MANAGE R_DISPATCHER_H_ 128 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_CREDENTIAL_MANAGE R_DISPATCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698