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

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

Issue 1204933004: Credential Management: Rename 'notifySignedOut' to 'requireUserMediation' (3/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@rename-notifysignedout
Patch Set: 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
« no previous file with comments | « no previous file | public/platform/WebCredentialManagerClient.h » ('j') | 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 #include "config.h" 5 #include "config.h"
6 #include "modules/credentialmanager/CredentialManagerClient.h" 6 #include "modules/credentialmanager/CredentialManagerClient.h"
7 7
8 #include "bindings/core/v8/ScriptState.h" 8 #include "bindings/core/v8/ScriptState.h"
9 #include "core/dom/Document.h" 9 #include "core/dom/Document.h"
10 #include "core/dom/ExecutionContext.h" 10 #include "core/dom/ExecutionContext.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 if (!m_client) 63 if (!m_client)
64 return; 64 return;
65 m_client->dispatchSignedIn(credential, callbacks); 65 m_client->dispatchSignedIn(credential, callbacks);
66 } 66 }
67 67
68 void CredentialManagerClient::dispatchRequireUserMediation(WebCredentialManagerC lient::NotificationCallbacks* callbacks) 68 void CredentialManagerClient::dispatchRequireUserMediation(WebCredentialManagerC lient::NotificationCallbacks* callbacks)
69 { 69 {
70 if (!m_client) 70 if (!m_client)
71 return; 71 return;
72 m_client->dispatchRequireUserMediation(callbacks); 72 m_client->dispatchRequireUserMediation(callbacks);
73
74 // TODO(mkwst): Drop this once the Chromium side is updated. https://crbug.c om/494880
75 m_client->dispatchSignedOut(callbacks);
76 } 73 }
77 74
78 void CredentialManagerClient::dispatchRequest(bool zeroClickOnly, const WebVecto r<WebURL>& federations, WebCredentialManagerClient::RequestCallbacks* callbacks) 75 void CredentialManagerClient::dispatchRequest(bool zeroClickOnly, const WebVecto r<WebURL>& federations, WebCredentialManagerClient::RequestCallbacks* callbacks)
79 { 76 {
80 if (!m_client) 77 if (!m_client)
81 return; 78 return;
82 m_client->dispatchRequest(zeroClickOnly, federations, callbacks); 79 m_client->dispatchRequest(zeroClickOnly, federations, callbacks);
83 } 80 }
84 81
85 } // namespace blink 82 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | public/platform/WebCredentialManagerClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698