OLD | NEW |
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/WebVector.h" | 10 #include "public/platform/WebVector.h" |
(...skipping 18 matching lines...) Expand all Loading... |
29 // Ownership of the callback is transferred to the callee for each of | 29 // Ownership of the callback is transferred to the callee for each of |
30 // the following methods. | 30 // the following methods. |
31 virtual void DispatchFailedSignIn(const WebCredential&, | 31 virtual void DispatchFailedSignIn(const WebCredential&, |
32 NotificationCallbacks*) {} | 32 NotificationCallbacks*) {} |
33 virtual void DispatchStore(const WebCredential&, NotificationCallbacks*) {} | 33 virtual void DispatchStore(const WebCredential&, NotificationCallbacks*) {} |
34 virtual void DispatchRequireUserMediation(NotificationCallbacks*) {} | 34 virtual void DispatchRequireUserMediation(NotificationCallbacks*) {} |
35 virtual void DispatchGet(bool zero_click_only, | 35 virtual void DispatchGet(bool zero_click_only, |
36 bool include_passwords, | 36 bool include_passwords, |
37 const WebVector<WebURL>& federations, | 37 const WebVector<WebURL>& federations, |
38 RequestCallbacks*) {} | 38 RequestCallbacks*) {} |
| 39 |
| 40 protected: |
| 41 virtual ~WebCredentialManagerClient() {} |
39 }; | 42 }; |
40 | 43 |
41 } // namespace blink | 44 } // namespace blink |
42 | 45 |
43 #endif // WebCredentialManager_h | 46 #endif // WebCredentialManager_h |
OLD | NEW |