| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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 // IPC messages for extensions. | 5 // IPC messages for extensions. |
| 6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
| 7 | 7 |
| 8 #include "base/shared_memory.h" | 8 #include "base/shared_memory.h" |
| 9 #include "base/values.h" | 9 #include "base/values.h" |
| 10 #include "chrome/common/extensions/extension.h" | 10 #include "chrome/common/extensions/extension.h" |
| (...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 349 std::string /* error */) | 349 std::string /* error */) |
| 350 | 350 |
| 351 // Sent by the renderer when an App is requesting permission to send server | 351 // Sent by the renderer when an App is requesting permission to send server |
| 352 // pushed notifications. | 352 // pushed notifications. |
| 353 IPC_MESSAGE_ROUTED4(ExtensionHostMsg_GetAppNotifyChannel, | 353 IPC_MESSAGE_ROUTED4(ExtensionHostMsg_GetAppNotifyChannel, |
| 354 GURL /* requestor_url */, | 354 GURL /* requestor_url */, |
| 355 std::string /* client_id */, | 355 std::string /* client_id */, |
| 356 int32 /* return_route_id */, | 356 int32 /* return_route_id */, |
| 357 int32 /* callback_id */) | 357 int32 /* callback_id */) |
| 358 | 358 |
| 359 // Optional Ack message sent to the browser to notify that the response to a |
| 360 // function has been processed. |
| 361 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_ResponseAck, |
| 362 int /* request_id */) |
| 363 |
| 359 // Response to the renderer for the above message. | 364 // Response to the renderer for the above message. |
| 360 IPC_MESSAGE_ROUTED3(ExtensionMsg_GetAppNotifyChannelResponse, | 365 IPC_MESSAGE_ROUTED3(ExtensionMsg_GetAppNotifyChannelResponse, |
| 361 std::string /* channel_id */, | 366 std::string /* channel_id */, |
| 362 std::string /* error */, | 367 std::string /* error */, |
| 363 int32 /* callback_id */) | 368 int32 /* callback_id */) |
| 364 | 369 |
| 365 // Deliver a message sent with ExtensionHostMsg_PostMessage. | 370 // Deliver a message sent with ExtensionHostMsg_PostMessage. |
| 366 IPC_MESSAGE_ROUTED2(ExtensionMsg_DeliverMessage, | 371 IPC_MESSAGE_ROUTED2(ExtensionMsg_DeliverMessage, |
| 367 int /* target_port_id */, | 372 int /* target_port_id */, |
| 368 std::string /* message */) | 373 std::string /* message */) |
| OLD | NEW |