Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(329)

Side by Side Diff: chrome/common/render_messages_internal.h

Issue 293038: Implementing WebDatabaseObserver in the renderer process.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Final version. Bots should turn green. Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/chrome.gyp ('k') | chrome/renderer/render_thread.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
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)
OLDNEW
« no previous file with comments | « chrome/chrome.gyp ('k') | chrome/renderer/render_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698