OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 // This header is meant to be included in multiple passes, hence no traditional | 5 // This header is meant to be included in multiple passes, hence no traditional |
6 // header guard. | 6 // header guard. |
7 // See ipc_message_macros.h for explanation of the macros and passes. | 7 // See ipc_message_macros.h for explanation of the macros and passes. |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 763 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
774 NullableString16 /* new_value */, | 774 NullableString16 /* new_value */, |
775 string16 /* origin */, | 775 string16 /* origin */, |
776 DOMStorageType /* dom_storage_type */) | 776 DOMStorageType /* dom_storage_type */) |
777 | 777 |
778 #if defined(IPC_MESSAGE_LOG_ENABLED) | 778 #if defined(IPC_MESSAGE_LOG_ENABLED) |
779 // Tell the renderer process to begin or end IPC message logging. | 779 // Tell the renderer process to begin or end IPC message logging. |
780 IPC_MESSAGE_CONTROL1(ViewMsg_SetIPCLoggingEnabled, | 780 IPC_MESSAGE_CONTROL1(ViewMsg_SetIPCLoggingEnabled, |
781 bool /* on or off */) | 781 bool /* on or off */) |
782 #endif | 782 #endif |
783 | 783 |
| 784 // Opens the given file for the sandboxed plugin, returning a handle |
| 785 // duplicated into the destination process. On error, or if the file is not |
| 786 // permitted by the security policy, the response will contain a 0 handle. |
| 787 IPC_SYNC_MESSAGE_CONTROL1_1(ViewMsg_OpenFileForPlugin, |
| 788 FilePath, /* file_name */ |
| 789 ViewMsg_OpenFileForPluginResponse_Params) |
| 790 |
784 //--------------------------------------------------------------------------- | 791 //--------------------------------------------------------------------------- |
785 // Utility process messages: | 792 // Utility process messages: |
786 // These are messages from the browser to the utility process. They're here | 793 // These are messages from the browser to the utility process. They're here |
787 // because we ran out of spare message types. | 794 // because we ran out of spare message types. |
788 | 795 |
789 // Tell the utility process to unpack the given extension file in its | 796 // Tell the utility process to unpack the given extension file in its |
790 // directory and verify that it is valid. | 797 // directory and verify that it is valid. |
791 IPC_MESSAGE_CONTROL1(UtilityMsg_UnpackExtension, | 798 IPC_MESSAGE_CONTROL1(UtilityMsg_UnpackExtension, |
792 FilePath /* extension_filename */) | 799 FilePath /* extension_filename */) |
793 | 800 |
(...skipping 1182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1976 | 1983 |
1977 // Asks the browser process to generate a keypair for grabbing a client | 1984 // Asks the browser process to generate a keypair for grabbing a client |
1978 // certificate from a CA (<keygen> tag), and returns the signed public | 1985 // certificate from a CA (<keygen> tag), and returns the signed public |
1979 // key and challenge string. | 1986 // key and challenge string. |
1980 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_Keygen, | 1987 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_Keygen, |
1981 uint32 /* key size index */, | 1988 uint32 /* key size index */, |
1982 std::string /* challenge string */, | 1989 std::string /* challenge string */, |
1983 GURL /* URL of requestor */, | 1990 GURL /* URL of requestor */, |
1984 std::string /* signed public key and challenge */) | 1991 std::string /* signed public key and challenge */) |
1985 IPC_END_MESSAGES(ViewHost) | 1992 IPC_END_MESSAGES(ViewHost) |
OLD | NEW |