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

Unified Diff: components/password_manager/content/browser/credential_manager_impl.h

Issue 2895243002: Rename requireUserMediation to preventSilentAccess in the CM API. (Closed)
Patch Set: merge Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/password_manager/content/browser/credential_manager_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « no previous file | components/password_manager/content/browser/credential_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698