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" |
11 #include "components/password_manager/core/common/credential_manager_types.h" | 11 #include "components/password_manager/core/common/credential_manager_types.h" |
12 #include "content/public/common/common_param_traits.h" | 12 #include "content/public/common/common_param_traits.h" |
| 13 #include "content/public/common/common_param_traits_macros.h" |
13 #include "ipc/ipc_message_macros.h" | 14 #include "ipc/ipc_message_macros.h" |
14 #include "ipc/ipc_message_utils.h" | 15 #include "ipc/ipc_message_utils.h" |
15 #include "third_party/WebKit/public/platform/WebCredentialManagerError.h" | 16 #include "third_party/WebKit/public/platform/WebCredentialManagerError.h" |
16 #include "url/gurl.h" | 17 #include "url/gurl.h" |
17 #include "url/ipc/url_param_traits.h" | |
18 | 18 |
19 #define IPC_MESSAGE_START CredentialManagerMsgStart | 19 #define IPC_MESSAGE_START CredentialManagerMsgStart |
20 | 20 |
21 IPC_ENUM_TRAITS_MAX_VALUE( | 21 IPC_ENUM_TRAITS_MAX_VALUE( |
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, | 25 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebCredentialManagerError, |
26 blink::WebCredentialManagerErrorLastType) | 26 blink::WebCredentialManagerErrorLastType) |
27 | 27 |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 // CredentialManagerHostMsg_RequestCredential message. | 77 // CredentialManagerHostMsg_RequestCredential message. |
78 IPC_MESSAGE_ROUTED2(CredentialManagerMsg_SendCredential, | 78 IPC_MESSAGE_ROUTED2(CredentialManagerMsg_SendCredential, |
79 int /* request_id */, | 79 int /* request_id */, |
80 password_manager::CredentialInfo /* credential */) | 80 password_manager::CredentialInfo /* credential */) |
81 | 81 |
82 // Reject the credential request in response to a | 82 // Reject the credential request in response to a |
83 // CredentialManagerHostMsg_RequestCredential message. | 83 // CredentialManagerHostMsg_RequestCredential message. |
84 IPC_MESSAGE_ROUTED2(CredentialManagerMsg_RejectCredentialRequest, | 84 IPC_MESSAGE_ROUTED2(CredentialManagerMsg_RejectCredentialRequest, |
85 int /* request_id */, | 85 int /* request_id */, |
86 blink::WebCredentialManagerError /* rejection_reason */) | 86 blink::WebCredentialManagerError /* rejection_reason */) |
OLD | NEW |