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 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
310 int32 /* page_id */, | 310 int32 /* page_id */, |
311 WebApplicationInfo) | 311 WebApplicationInfo) |
312 | 312 |
313 // Sent by the renderer to implement chrome.app.install(). | 313 // Sent by the renderer to implement chrome.app.install(). |
314 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_InstallApplication, | 314 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_InstallApplication, |
315 WebApplicationInfo) | 315 WebApplicationInfo) |
316 | 316 |
317 // Sent by the renderer to implement chrome.webstore.install(). | 317 // Sent by the renderer to implement chrome.webstore.install(). |
318 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_InlineWebstoreInstall, | 318 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_InlineWebstoreInstall, |
319 std::string /* Web Store item ID */) | 319 std::string /* Web Store item ID */) |
| 320 |
| 321 // Send to renderer once the installation mentioned above is complete. |
| 322 IPC_MESSAGE_ROUTED2(ExtensionMsg_InlineWebstoreInstallResponse, |
| 323 bool /* whether the install was successful */, |
| 324 std::string /* error */) |
OLD | NEW |