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

Side by Side Diff: chrome/common/pepper_messages.h

Issue 6672057: Move all the message files in chrome that belong in content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Multiply-included message file, no traditional include guard
6 #include "chrome/common/common_param_traits.h"
7 #include "ipc/ipc_message_macros.h"
8 #include "ipc/ipc_param_traits.h"
9 #include "ipc/ipc_platform_file.h"
10 #include "ppapi/c/private/ppb_flash_net_connector.h"
11
12 // Singly-included section, not yet converted.
13 #ifndef CHROME_COMMON_PEPPER_MESSAGES_H_
14 #define CHROME_COMMON_PEPPER_MESSAGES_H_
15
16 namespace IPC {
17
18 template <>
19 struct ParamTraits<PP_Flash_NetAddress> {
20 typedef PP_Flash_NetAddress param_type;
21 static void Write(Message* m, const param_type& p);
22 static bool Read(const Message* m, void** iter, param_type* p);
23 static void Log(const param_type& p, std::string* l);
24 };
25
26 } // namespace IPC
27
28 #define IPC_MESSAGE_START PepperMsgStart
29
30 #endif // CHROME_COMMON_PEPPER_MESSAGES_H_
31
32 // Pepper (non-file-system) messages sent from the browser to the renderer.
33
34 // The response to PepperMsg_ConnectTcp(Address).
35 IPC_MESSAGE_ROUTED4(PepperMsg_ConnectTcpACK,
36 int /* request_id */,
37 IPC::PlatformFileForTransit /* socket */,
38 PP_Flash_NetAddress /* local_addr */,
39 PP_Flash_NetAddress /* remote_addr */)
40
41 // Pepper (non-file-system) messages sent from the renderer to the browser.
42
43 IPC_MESSAGE_CONTROL4(PepperMsg_ConnectTcp,
44 int /* routing_id */,
45 int /* request_id */,
46 std::string /* host */,
47 uint16 /* port */)
48
49 IPC_MESSAGE_CONTROL3(PepperMsg_ConnectTcpAddress,
50 int /* routing_id */,
51 int /* request_id */,
52 PP_Flash_NetAddress /* addr */)
53
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698