| 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 // 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 11 matching lines...) Expand all Loading... |
| 22 password_manager::CredentialType, | 22 password_manager::CredentialType, |
| 23 password_manager::CredentialType::CREDENTIAL_TYPE_LAST) | 23 password_manager::CredentialType::CREDENTIAL_TYPE_LAST) |
| 24 | 24 |
| 25 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebCredentialManagerError::ErrorType, | 25 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebCredentialManagerError::ErrorType, |
| 26 blink::WebCredentialManagerError::ErrorTypeLast) | 26 blink::WebCredentialManagerError::ErrorTypeLast) |
| 27 | 27 |
| 28 IPC_STRUCT_TRAITS_BEGIN(password_manager::CredentialInfo) | 28 IPC_STRUCT_TRAITS_BEGIN(password_manager::CredentialInfo) |
| 29 IPC_STRUCT_TRAITS_MEMBER(type) | 29 IPC_STRUCT_TRAITS_MEMBER(type) |
| 30 IPC_STRUCT_TRAITS_MEMBER(id) | 30 IPC_STRUCT_TRAITS_MEMBER(id) |
| 31 IPC_STRUCT_TRAITS_MEMBER(name) | 31 IPC_STRUCT_TRAITS_MEMBER(name) |
| 32 IPC_STRUCT_TRAITS_MEMBER(avatar) | 32 IPC_STRUCT_TRAITS_MEMBER(icon) |
| 33 IPC_STRUCT_TRAITS_MEMBER(password) | 33 IPC_STRUCT_TRAITS_MEMBER(password) |
| 34 IPC_STRUCT_TRAITS_MEMBER(federation) | 34 IPC_STRUCT_TRAITS_MEMBER(federation) |
| 35 IPC_STRUCT_TRAITS_END() | 35 IPC_STRUCT_TRAITS_END() |
| 36 | 36 |
| 37 // ---------------------------------------------------------------------------- | 37 // ---------------------------------------------------------------------------- |
| 38 // Messages sent from the renderer to the browser | 38 // Messages sent from the renderer to the browser |
| 39 | 39 |
| 40 // Passes the notification from 'navigator.credentials.notifyFailedSignIn()' up | 40 // Passes the notification from 'navigator.credentials.notifyFailedSignIn()' up |
| 41 // to the browser process in order to suppress the automatic bubble which would | 41 // to the browser process in order to suppress the automatic bubble which would |
| 42 // pop up in order to prompt the user to save the credential she used for | 42 // pop up in order to prompt the user to save the credential she used for |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 */) |
| OLD | NEW |