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

Side by Side Diff: components/password_manager/content/common/credential_manager_messages.h

Issue 1159323003: Credential Management: Rename 'notifySignedOut' to 'requireUserMediation' (2/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rename-password
Patch Set: Rebase. 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 // Message definition file, included multiple times, hence no include guard. 5 // Message definition file, included multiple times, hence no include guard.
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 password_manager::CredentialInfo /* credential */) 47 password_manager::CredentialInfo /* credential */)
48 48
49 // Passes the notification from 'navigator.credentials.notifySignedIn()' up to 49 // Passes the notification from 'navigator.credentials.notifySignedIn()' up to
50 // the browser process in order to (among other things) prompt the user to save 50 // the browser process in order to (among other things) prompt the user to save
51 // the credential she used for signin. The browser process will respond with a 51 // the credential she used for signin. The browser process will respond with a
52 // CredentialManagerMsg_AcknowledgeSignedIn message. 52 // CredentialManagerMsg_AcknowledgeSignedIn message.
53 IPC_MESSAGE_ROUTED2(CredentialManagerHostMsg_NotifySignedIn, 53 IPC_MESSAGE_ROUTED2(CredentialManagerHostMsg_NotifySignedIn,
54 int /* request_id */, 54 int /* request_id */,
55 password_manager::CredentialInfo /* credential */) 55 password_manager::CredentialInfo /* credential */)
56 56
57 // Passes the notification from 'navigator.credentials.notifySignedOut()' up to 57 // Passes the notification from 'navigator.credentials.requireUserMediation()'
58 // the browser process in order to clear the "zeroclick" bit on that origin's 58 // up to the browser process in order to clear the "zeroclick" bit on that
59 // stored credentials. The browser process will respond with a 59 // origin's stored credentials. The browser process will respond with a
60 // CredentialManagerMsg_AcknowledgeSignedOut message. 60 // CredentialManagerMsg_AcknowledgeRequireUserMediation message.
61 IPC_MESSAGE_ROUTED1(CredentialManagerHostMsg_NotifySignedOut, 61 IPC_MESSAGE_ROUTED1(CredentialManagerHostMsg_RequireUserMediation,
62 int /* request_id */) 62 int /* request_id */)
63 63
64 // Requests a credential from the browser process in response to a page calling 64 // Requests a credential from the browser process in response to a page calling
65 // 'navigator.credentials.request()'. The browser process will respond with a 65 // 'navigator.credentials.request()'. The browser process will respond with a
66 // CredentialManagerMsg_SendCredential message. 66 // CredentialManagerMsg_SendCredential message.
67 IPC_MESSAGE_ROUTED3(CredentialManagerHostMsg_RequestCredential, 67 IPC_MESSAGE_ROUTED3(CredentialManagerHostMsg_RequestCredential,
68 int /* request_id */, 68 int /* request_id */,
69 bool /* zero_click_only */, 69 bool /* zero_click_only */,
70 std::vector<GURL> /* federations */) 70 std::vector<GURL> /* federations */)
71 71
72 // ---------------------------------------------------------------------------- 72 // ----------------------------------------------------------------------------
73 // Messages sent from the browser to the renderer 73 // Messages sent from the browser to the renderer
74 74
75 // Notify the renderer that the browser process has finished processing a 75 // Notify the renderer that the browser process has finished processing a
76 // CredentialManagerHostMsg_NotifyFailedSignedIn message. 76 // CredentialManagerHostMsg_NotifyFailedSignedIn message.
77 IPC_MESSAGE_ROUTED1(CredentialManagerMsg_AcknowledgeFailedSignIn, 77 IPC_MESSAGE_ROUTED1(CredentialManagerMsg_AcknowledgeFailedSignIn,
78 int /* request_id */) 78 int /* request_id */)
79 79
80 // Notify the renderer that the browser process has finished processing a 80 // Notify the renderer that the browser process has finished processing a
81 // CredentialManagerHostMsg_NotifySignedIn message. 81 // CredentialManagerHostMsg_NotifySignedIn message.
82 IPC_MESSAGE_ROUTED1(CredentialManagerMsg_AcknowledgeSignedIn, 82 IPC_MESSAGE_ROUTED1(CredentialManagerMsg_AcknowledgeSignedIn,
83 int /* request_id */) 83 int /* request_id */)
84 84
85 // Notify the renderer that the browser process has finished processing a 85 // Notify the renderer that the browser process has finished processing a
86 // CredentialManagerHostMsg_NotifySignedOut message. 86 // CredentialManagerHostMsg_RequireUserMediation message.
87 IPC_MESSAGE_ROUTED1(CredentialManagerMsg_AcknowledgeSignedOut, 87 IPC_MESSAGE_ROUTED1(CredentialManagerMsg_AcknowledgeRequireUserMediation,
88 int /* request_id */) 88 int /* request_id */)
89 89
90 // Send a credential to the renderer in response to a 90 // Send a credential to the renderer in response to a
91 // CredentialManagerHostMsg_RequestCredential message. 91 // CredentialManagerHostMsg_RequestCredential message.
92 IPC_MESSAGE_ROUTED2(CredentialManagerMsg_SendCredential, 92 IPC_MESSAGE_ROUTED2(CredentialManagerMsg_SendCredential,
93 int /* request_id */, 93 int /* request_id */,
94 password_manager::CredentialInfo /* credential */) 94 password_manager::CredentialInfo /* credential */)
95 95
96 // Reject the credential request in response to a 96 // Reject the credential request in response to a
97 // CredentialManagerHostMsg_RequestCredential message. 97 // CredentialManagerHostMsg_RequestCredential message.
98 IPC_MESSAGE_ROUTED2( 98 IPC_MESSAGE_ROUTED2(
99 CredentialManagerMsg_RejectCredentialRequest, 99 CredentialManagerMsg_RejectCredentialRequest,
100 int /* request_id */, 100 int /* request_id */,
101 blink::WebCredentialManagerError::ErrorType /* rejection_reason */) 101 blink::WebCredentialManagerError::ErrorType /* rejection_reason */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698