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

Unified Diff: content/shell/test_runner/mock_credential_manager_client.h

Issue 2864493003: Deprecate CredentialRequestOptions.unmediated in favor mediation enum (Closed)
Patch Set: Rebase 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
Index: content/shell/test_runner/mock_credential_manager_client.h
diff --git a/content/shell/test_runner/mock_credential_manager_client.h b/content/shell/test_runner/mock_credential_manager_client.h
index 28f2adf4e9560bc45f38bf2e8c0ab3656cf28f07..74c9edf896e53cb865d30836e6d72870236625fc 100644
--- a/content/shell/test_runner/mock_credential_manager_client.h
+++ b/content/shell/test_runner/mock_credential_manager_client.h
@@ -10,6 +10,7 @@
#include "base/macros.h"
#include "third_party/WebKit/public/platform/WebCredentialManagerClient.h"
#include "third_party/WebKit/public/platform/WebCredentialManagerError.h"
+#include "third_party/WebKit/public/platform/WebCredentialMediationRequirement.h"
#include "third_party/WebKit/public/platform/WebVector.h"
namespace blink {
@@ -32,7 +33,7 @@ class MockCredentialManagerClient : public blink::WebCredentialManagerClient {
void DispatchStore(const blink::WebCredential& credential,
NotificationCallbacks* callbacks) override;
void DispatchRequireUserMediation(NotificationCallbacks* callbacks) override;
- void DispatchGet(bool zero_click_only,
+ void DispatchGet(blink::WebCredentialMediationRequirement mediation,
bool include_passwords,
const blink::WebVector<blink::WebURL>& federations,
RequestCallbacks* callbacks) override;

Powered by Google App Engine
This is Rietveld 408576698