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 742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
753 // Returns the attributes of a file | 753 // Returns the attributes of a file |
754 IPC_MESSAGE_CONTROL2(ViewMsg_DatabaseGetFileAttributesResponse, | 754 IPC_MESSAGE_CONTROL2(ViewMsg_DatabaseGetFileAttributesResponse, |
755 int32 /* the ID of the message we're replying to */, | 755 int32 /* the ID of the message we're replying to */, |
756 int32 /* the attributes for the given DB file */) | 756 int32 /* the attributes for the given DB file */) |
757 | 757 |
758 // Returns the size of a file | 758 // Returns the size of a file |
759 IPC_MESSAGE_CONTROL2(ViewMsg_DatabaseGetFileSizeResponse, | 759 IPC_MESSAGE_CONTROL2(ViewMsg_DatabaseGetFileSizeResponse, |
760 int32 /* the ID of the message we're replying to */, | 760 int32 /* the ID of the message we're replying to */, |
761 int64 /* the size of the given DB file */) | 761 int64 /* the size of the given DB file */) |
762 | 762 |
| 763 // Notifies the child process of the new database size |
| 764 IPC_MESSAGE_CONTROL4(ViewMsg_DatabaseUpdateSize, |
| 765 string16 /* the origin */, |
| 766 string16 /* the database name */, |
| 767 int64 /* the new database size */, |
| 768 int64 /* space available to origin */) |
| 769 |
763 // Storage events are broadcast to renderer processes. | 770 // Storage events are broadcast to renderer processes. |
764 IPC_MESSAGE_CONTROL5(ViewMsg_DOMStorageEvent, | 771 IPC_MESSAGE_CONTROL5(ViewMsg_DOMStorageEvent, |
765 string16 /* key */, | 772 string16 /* key */, |
766 NullableString16 /* old_value */, | 773 NullableString16 /* old_value */, |
767 NullableString16 /* new_value */, | 774 NullableString16 /* new_value */, |
768 string16 /* origin */, | 775 string16 /* origin */, |
769 DOMStorageType /* dom_storage_type */) | 776 DOMStorageType /* dom_storage_type */) |
770 | 777 |
771 #if defined(IPC_MESSAGE_LOG_ENABLED) | 778 #if defined(IPC_MESSAGE_LOG_ENABLED) |
772 // Tell the renderer process to begin or end IPC message logging. | 779 // Tell the renderer process to begin or end IPC message logging. |
(...skipping 1110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1883 // Asks the browser process to return the attributes of a DB file | 1890 // Asks the browser process to return the attributes of a DB file |
1884 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes, | 1891 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes, |
1885 FilePath /* the name of the file */, | 1892 FilePath /* the name of the file */, |
1886 int32 /* a unique message ID */) | 1893 int32 /* a unique message ID */) |
1887 | 1894 |
1888 // Asks the browser process to return the size of a DB file | 1895 // Asks the browser process to return the size of a DB file |
1889 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize, | 1896 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize, |
1890 FilePath /* the name of the file */, | 1897 FilePath /* the name of the file */, |
1891 int32 /* a unique message ID */) | 1898 int32 /* a unique message ID */) |
1892 | 1899 |
| 1900 // Notifies the browser process that a new database has been opened |
| 1901 IPC_MESSAGE_CONTROL4(ViewHostMsg_DatabaseOpened, |
| 1902 string16 /* origin identifier */, |
| 1903 string16 /* database name */, |
| 1904 string16 /* database description */, |
| 1905 int64 /* estimated size */) |
| 1906 |
| 1907 // Notifies the browser process that a database might have been modified |
| 1908 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseModified, |
| 1909 string16 /* origin identifier */, |
| 1910 string16 /* database name */) |
| 1911 |
| 1912 // Notifies the browser process that a database is about to close |
| 1913 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseClosed, |
| 1914 string16 /* origin identifier */, |
| 1915 string16 /* database name */) |
| 1916 |
1893 //--------------------------------------------------------------------------- | 1917 //--------------------------------------------------------------------------- |
1894 // Socket Stream messages: | 1918 // Socket Stream messages: |
1895 // These are messages from the SocketStreamHandle to the browser. | 1919 // These are messages from the SocketStreamHandle to the browser. |
1896 | 1920 |
1897 // Open new Socket Stream for the |socket_url| identified by |socket_id| | 1921 // Open new Socket Stream for the |socket_url| identified by |socket_id| |
1898 // in the renderer process. | 1922 // in the renderer process. |
1899 // The browser starts connecting asynchronously. | 1923 // The browser starts connecting asynchronously. |
1900 // Once Socket Stream connection is established, the browser will send | 1924 // Once Socket Stream connection is established, the browser will send |
1901 // ViewMsg_SocketStream_Connected back. | 1925 // ViewMsg_SocketStream_Connected back. |
1902 IPC_MESSAGE_CONTROL2(ViewHostMsg_SocketStream_Connect, | 1926 IPC_MESSAGE_CONTROL2(ViewHostMsg_SocketStream_Connect, |
(...skipping 27 matching lines...) Expand all Loading... |
1930 | 1954 |
1931 // Asks the browser process to generate a keypair for grabbing a client | 1955 // Asks the browser process to generate a keypair for grabbing a client |
1932 // certificate from a CA (<keygen> tag), and returns the signed public | 1956 // certificate from a CA (<keygen> tag), and returns the signed public |
1933 // key and challenge string. | 1957 // key and challenge string. |
1934 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_Keygen, | 1958 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_Keygen, |
1935 uint32 /* key size index */, | 1959 uint32 /* key size index */, |
1936 std::string /* challenge string */, | 1960 std::string /* challenge string */, |
1937 GURL /* URL of requestor */, | 1961 GURL /* URL of requestor */, |
1938 std::string /* signed public key and challenge */) | 1962 std::string /* signed public key and challenge */) |
1939 IPC_END_MESSAGES(ViewHost) | 1963 IPC_END_MESSAGES(ViewHost) |
OLD | NEW |