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 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 int32 /* install id */, | 317 int32 /* install id */, |
318 std::string /* Web Store item ID */, | 318 std::string /* Web Store item ID */, |
319 GURL /* requestor URL */) | 319 GURL /* requestor URL */) |
320 | 320 |
321 // Send to renderer once the installation mentioned above is complete. | 321 // Send to renderer once the installation mentioned above is complete. |
322 IPC_MESSAGE_ROUTED3(ExtensionMsg_InlineWebstoreInstallResponse, | 322 IPC_MESSAGE_ROUTED3(ExtensionMsg_InlineWebstoreInstallResponse, |
323 int32 /* install id */, | 323 int32 /* install id */, |
324 bool /* whether the install was successful */, | 324 bool /* whether the install was successful */, |
325 std::string /* error */) | 325 std::string /* error */) |
326 | 326 |
| 327 // Sent by the renderer when an App is requesting permission to send server |
| 328 // pushed notifications. |
| 329 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_GetAppNotifyChannel, |
| 330 int32 /* request_id */, |
| 331 GURL /* requestor_url */, |
| 332 std::string /* client_id */) |
| 333 |
| 334 // Response to the renderer for the above message. |
| 335 IPC_MESSAGE_ROUTED3(ExtensionMsg_GetAppNotifyChannelResponse, |
| 336 int32 /* request_id */, |
| 337 std::string /* channel_id */, |
| 338 std::string /* error */) |
| 339 |
327 // Deliver a message sent with ExtensionHostMsg_PostMessage. | 340 // Deliver a message sent with ExtensionHostMsg_PostMessage. |
328 IPC_MESSAGE_ROUTED2(ExtensionMsg_DeliverMessage, | 341 IPC_MESSAGE_ROUTED2(ExtensionMsg_DeliverMessage, |
329 int /* target_port_id */, | 342 int /* target_port_id */, |
330 std::string /* message */) | 343 std::string /* message */) |
OLD | NEW |