| 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 1868 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1879 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetFileSize, | 1879 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetFileSize, |
| 1880 FilePath /* path */, | 1880 FilePath /* path */, |
| 1881 int64 /* result */) | 1881 int64 /* result */) |
| 1882 | 1882 |
| 1883 //--------------------------------------------------------------------------- | 1883 //--------------------------------------------------------------------------- |
| 1884 // Utility process host messages: | 1884 // Utility process host messages: |
| 1885 // These are messages from the utility process to the browser. They're here | 1885 // These are messages from the utility process to the browser. They're here |
| 1886 // because we ran out of spare message types. | 1886 // because we ran out of spare message types. |
| 1887 | 1887 |
| 1888 // Reply when the utility process is done unpacking an extension. |manifest| | 1888 // Reply when the utility process is done unpacking an extension. |manifest| |
| 1889 // is the parsed manifest.json file. The unpacker should also have written | 1889 // is the parsed manifest.json file. |catalogs| is the list of all parsed |
| 1890 // out a file containing decoded images from the extension. See | 1890 // message catalogs and relative paths to them. |
| 1891 // ExtensionUnpacker for details. | 1891 // The unpacker should also have written out a file containing decoded images |
| 1892 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackExtension_Succeeded, | 1892 // from the extension. See ExtensionUnpacker for details. |
| 1893 DictionaryValue /* manifest */) | 1893 IPC_MESSAGE_CONTROL2(UtilityHostMsg_UnpackExtension_Succeeded, |
| 1894 DictionaryValue /* manifest */, |
| 1895 DictionaryValue /* catalogs */) |
| 1894 | 1896 |
| 1895 // Reply when the utility process has failed while unpacking an extension. | 1897 // Reply when the utility process has failed while unpacking an extension. |
| 1896 // |error_message| is a user-displayable explanation of what went wrong. | 1898 // |error_message| is a user-displayable explanation of what went wrong. |
| 1897 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackExtension_Failed, | 1899 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackExtension_Failed, |
| 1898 std::string /* error_message, if any */) | 1900 std::string /* error_message, if any */) |
| 1899 | 1901 |
| 1900 // Reply when the utility process is done unpacking and parsing JSON data | 1902 // Reply when the utility process is done unpacking and parsing JSON data |
| 1901 // from a web resource. | 1903 // from a web resource. |
| 1902 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackWebResource_Succeeded, | 1904 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackWebResource_Succeeded, |
| 1903 DictionaryValue /* json data */) | 1905 DictionaryValue /* json data */) |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2001 | 2003 |
| 2002 // Asks the browser process to generate a keypair for grabbing a client | 2004 // Asks the browser process to generate a keypair for grabbing a client |
| 2003 // certificate from a CA (<keygen> tag), and returns the signed public | 2005 // certificate from a CA (<keygen> tag), and returns the signed public |
| 2004 // key and challenge string. | 2006 // key and challenge string. |
| 2005 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_Keygen, | 2007 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_Keygen, |
| 2006 uint32 /* key size index */, | 2008 uint32 /* key size index */, |
| 2007 std::string /* challenge string */, | 2009 std::string /* challenge string */, |
| 2008 GURL /* URL of requestor */, | 2010 GURL /* URL of requestor */, |
| 2009 std::string /* signed public key and challenge */) | 2011 std::string /* signed public key and challenge */) |
| 2010 IPC_END_MESSAGES(ViewHost) | 2012 IPC_END_MESSAGES(ViewHost) |
| OLD | NEW |