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

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

Issue 2858683005: Add a virtual destructor to WebCredentialManagerClient. (Closed)
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « content/shell/test_runner/mock_credential_manager_client.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/WebVector.h" 10 #include "public/platform/WebVector.h"
(...skipping 18 matching lines...) Expand all
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
OLDNEW
« no previous file with comments | « content/shell/test_runner/mock_credential_manager_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698