Index: components/password_manager/content/browser/credential_manager_impl.h |
diff --git a/components/password_manager/content/browser/credential_manager_impl.h b/components/password_manager/content/browser/credential_manager_impl.h |
index 4d00e9a465d229c5ef767f1d79ec8dff8339bb32..6db0b992f106151e058e8106c7c3c1cd073f78a0 100644 |
--- a/components/password_manager/content/browser/credential_manager_impl.h |
+++ b/components/password_manager/content/browser/credential_manager_impl.h |
@@ -12,8 +12,8 @@ |
#include "base/memory/weak_ptr.h" |
#include "components/password_manager/content/common/credential_manager.mojom.h" |
#include "components/password_manager/core/browser/credential_manager_password_form_manager.h" |
+#include "components/password_manager/core/browser/credential_manager_pending_prevent_silent_access_task.h" |
#include "components/password_manager/core/browser/credential_manager_pending_request_task.h" |
-#include "components/password_manager/core/browser/credential_manager_pending_require_user_mediation_task.h" |
#include "components/password_manager/core/browser/password_store_consumer.h" |
#include "components/password_manager/core/common/credential_manager_types.h" |
#include "components/prefs/pref_member.h" |
@@ -42,7 +42,7 @@ class CredentialManagerImpl |
public content::WebContentsObserver, |
public CredentialManagerPasswordFormManagerDelegate, |
public CredentialManagerPendingRequestTaskDelegate, |
- public CredentialManagerPendingRequireUserMediationTaskDelegate { |
+ public CredentialManagerPendingPreventSilentAccessTaskDelegate { |
public: |
CredentialManagerImpl(content::WebContents* web_contents, |
PasswordManagerClient* client); |
@@ -52,7 +52,7 @@ class CredentialManagerImpl |
// mojom::CredentialManager methods: |
void Store(const CredentialInfo& credential, StoreCallback callback) override; |
- void RequireUserMediation(RequireUserMediationCallback callback) override; |
+ void PreventSilentAccess(PreventSilentAccessCallback callback) override; |
void Get(CredentialMediationRequirement mediation, |
bool include_passwords, |
const std::vector<GURL>& federations, |
@@ -94,7 +94,7 @@ class CredentialManagerImpl |
// they can properly respond to the request once the PasswordStore gives |
// us data. |
std::unique_ptr<CredentialManagerPendingRequestTask> pending_request_; |
- std::unique_ptr<CredentialManagerPendingRequireUserMediationTask> |
+ std::unique_ptr<CredentialManagerPendingPreventSilentAccessTask> |
pending_require_user_mediation_; |
mojo::BindingSet<mojom::CredentialManager> bindings_; |