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

Side by Side Diff: third_party/WebKit/public/platform/WebCredentialManagerClient.h

Issue 2895243002: Rename requireUserMediation to preventSilentAccess in the CM API. (Closed)
Patch Set: merge Created 3 years, 6 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 WebCredentialManagerClient_h 5 #ifndef WebCredentialManagerClient_h
6 #define WebCredentialManagerClient_h 6 #define WebCredentialManagerClient_h
7 7
8 #include "public/platform/WebCallbacks.h" 8 #include "public/platform/WebCallbacks.h"
9 #include "public/platform/WebCredentialManagerError.h" 9 #include "public/platform/WebCredentialManagerError.h"
10 #include "public/platform/WebCredentialMediationRequirement.h" 10 #include "public/platform/WebCredentialMediationRequirement.h"
(...skipping 14 matching lines...) Expand all
25 typedef WebCallbacks<std::unique_ptr<WebCredential>, 25 typedef WebCallbacks<std::unique_ptr<WebCredential>,
26 WebCredentialManagerError> 26 WebCredentialManagerError>
27 RequestCallbacks; 27 RequestCallbacks;
28 typedef WebCallbacks<void, WebCredentialManagerError> NotificationCallbacks; 28 typedef WebCallbacks<void, WebCredentialManagerError> NotificationCallbacks;
29 29
30 // Ownership of the callback is transferred to the callee for each of 30 // Ownership of the callback is transferred to the callee for each of
31 // the following methods. 31 // the following methods.
32 virtual void DispatchFailedSignIn(const WebCredential&, 32 virtual void DispatchFailedSignIn(const WebCredential&,
33 NotificationCallbacks*) {} 33 NotificationCallbacks*) {}
34 virtual void DispatchStore(const WebCredential&, NotificationCallbacks*) {} 34 virtual void DispatchStore(const WebCredential&, NotificationCallbacks*) {}
35 virtual void DispatchRequireUserMediation(NotificationCallbacks*) {} 35 virtual void DispatchPreventSilentAccess(NotificationCallbacks*) {}
36 virtual void DispatchGet(WebCredentialMediationRequirement mediation, 36 virtual void DispatchGet(WebCredentialMediationRequirement mediation,
37 bool include_passwords, 37 bool include_passwords,
38 const WebVector<WebURL>& federations, 38 const WebVector<WebURL>& federations,
39 RequestCallbacks*) {} 39 RequestCallbacks*) {}
40 40
41 protected: 41 protected:
42 virtual ~WebCredentialManagerClient() {} 42 virtual ~WebCredentialManagerClient() {}
43 }; 43 };
44 44
45 } // namespace blink 45 } // namespace blink
46 46
47 #endif // WebCredentialManager_h 47 #endif // WebCredentialManager_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/credentialmanager/CredentialsContainerTest.cpp ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698