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

Side by Side Diff: Source/modules/credentialmanager/CredentialManagerClient.h

Issue 1160283002: Credential Management: Rename 'notifySignedOut' to 'requireUserMediation'. (1/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@rename-avatar
Patch Set: WebExposed. Created 5 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 CredentialManagerClient_h 5 #ifndef CredentialManagerClient_h
6 #define CredentialManagerClient_h 6 #define CredentialManagerClient_h
7 7
8 #include "core/page/Page.h" 8 #include "core/page/Page.h"
9 #include "modules/ModulesExport.h" 9 #include "modules/ModulesExport.h"
10 #include "platform/Supplementable.h" 10 #include "platform/Supplementable.h"
(...skipping 17 matching lines...) Expand all
28 DECLARE_VIRTUAL_TRACE(); 28 DECLARE_VIRTUAL_TRACE();
29 29
30 static const char* supplementName(); 30 static const char* supplementName();
31 static CredentialManagerClient* from(Page*); 31 static CredentialManagerClient* from(Page*);
32 static CredentialManagerClient* from(ExecutionContext*); 32 static CredentialManagerClient* from(ExecutionContext*);
33 33
34 // Ownership of the callback is transferred to the callee for each of 34 // Ownership of the callback is transferred to the callee for each of
35 // the following methods. 35 // the following methods.
36 virtual void dispatchFailedSignIn(const WebCredential&, WebCredentialManager Client::NotificationCallbacks*); 36 virtual void dispatchFailedSignIn(const WebCredential&, WebCredentialManager Client::NotificationCallbacks*);
37 virtual void dispatchSignedIn(const WebCredential&, WebCredentialManagerClie nt::NotificationCallbacks*); 37 virtual void dispatchSignedIn(const WebCredential&, WebCredentialManagerClie nt::NotificationCallbacks*);
38 virtual void dispatchSignedOut(WebCredentialManagerClient::NotificationCallb acks*); 38 virtual void dispatchRequireUserMediation(WebCredentialManagerClient::Notifi cationCallbacks*);
39 virtual void dispatchRequest(bool zeroClickOnly, const WebVector<WebURL>& fe derations, WebCredentialManagerClient::RequestCallbacks*); 39 virtual void dispatchRequest(bool zeroClickOnly, const WebVector<WebURL>& fe derations, WebCredentialManagerClient::RequestCallbacks*);
40 40
41 private: 41 private:
42 WebCredentialManagerClient* m_client; 42 WebCredentialManagerClient* m_client;
43 }; 43 };
44 44
45 MODULES_EXPORT void provideCredentialManagerClientTo(Page&, CredentialManagerCli ent*); 45 MODULES_EXPORT void provideCredentialManagerClientTo(Page&, CredentialManagerCli ent*);
46 46
47 } // namespace blink 47 } // namespace blink
48 48
49 #endif // CredentialManagerClient_h 49 #endif // CredentialManagerClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698