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

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

Issue 496703002: Credential Manager: Stub out the browser-side IPC handlers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 6 years, 3 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 | Annotate | Revision Log
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"
11 #include "components/password_manager/content/common/credential_manager_types.h" 11 #include "components/password_manager/content/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 "content/public/common/common_param_traits_macros.h"
14 #include "ipc/ipc_message_macros.h" 14 #include "ipc/ipc_message_macros.h"
15 #include "ipc/ipc_message_utils.h" 15 #include "ipc/ipc_message_utils.h"
16 #include "third_party/WebKit/public/platform/WebCredentialManagerError.h"
17 #include "url/gurl.h" 16 #include "url/gurl.h"
18 17
19 #define IPC_MESSAGE_START CredentialManagerMsgStart 18 #define IPC_MESSAGE_START CredentialManagerMsgStart
20 19
21 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebCredentialManagerError::ErrorType,
22 blink::WebCredentialManagerError::ErrorTypeLast);
23
24 IPC_ENUM_TRAITS_MAX_VALUE(password_manager::CredentialType, 20 IPC_ENUM_TRAITS_MAX_VALUE(password_manager::CredentialType,
25 password_manager::CREDENTIAL_TYPE_LAST); 21 password_manager::CREDENTIAL_TYPE_LAST);
26 22
27 IPC_STRUCT_TRAITS_BEGIN(password_manager::CredentialInfo) 23 IPC_STRUCT_TRAITS_BEGIN(password_manager::CredentialInfo)
28 IPC_STRUCT_TRAITS_MEMBER(type) 24 IPC_STRUCT_TRAITS_MEMBER(type)
29 IPC_STRUCT_TRAITS_MEMBER(id) 25 IPC_STRUCT_TRAITS_MEMBER(id)
30 IPC_STRUCT_TRAITS_MEMBER(name) 26 IPC_STRUCT_TRAITS_MEMBER(name)
31 IPC_STRUCT_TRAITS_MEMBER(avatar) 27 IPC_STRUCT_TRAITS_MEMBER(avatar)
32 IPC_STRUCT_TRAITS_MEMBER(password) 28 IPC_STRUCT_TRAITS_MEMBER(password)
33 IPC_STRUCT_TRAITS_MEMBER(federation) 29 IPC_STRUCT_TRAITS_MEMBER(federation)
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 // Notify the renderer that the browser process has finished processing a 80 // Notify the renderer that the browser process has finished processing a
85 // CredentialManagerHostMsg_NotifySignedOut message. 81 // CredentialManagerHostMsg_NotifySignedOut message.
86 IPC_MESSAGE_ROUTED1(CredentialManagerMsg_AcknowledgeSignedOut, 82 IPC_MESSAGE_ROUTED1(CredentialManagerMsg_AcknowledgeSignedOut,
87 int /* request_id */); 83 int /* request_id */);
88 84
89 // Send a credential to the renderer in response to a 85 // Send a credential to the renderer in response to a
90 // CredentialManagerHostMsg_RequestCredential message. 86 // CredentialManagerHostMsg_RequestCredential message.
91 IPC_MESSAGE_ROUTED2(CredentialManagerMsg_SendCredential, 87 IPC_MESSAGE_ROUTED2(CredentialManagerMsg_SendCredential,
92 int /* request_id */, 88 int /* request_id */,
93 password_manager::CredentialInfo /* credential */) 89 password_manager::CredentialInfo /* credential */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698