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

Unified 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, 2 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome.gyp ('k') | chrome/renderer/render_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/render_messages_internal.h
===================================================================
--- chrome/common/render_messages_internal.h (revision 29950)
+++ chrome/common/render_messages_internal.h (working copy)
@@ -760,6 +760,13 @@
int32 /* the ID of the message we're replying to */,
int64 /* the size of the given DB file */)
+ // Notifies the child process of the new database size
+ IPC_MESSAGE_CONTROL4(ViewMsg_DatabaseUpdateSize,
+ string16 /* the origin */,
+ string16 /* the database name */,
+ int64 /* the new database size */,
+ int64 /* space available to origin */)
+
// Storage events are broadcast to renderer processes.
IPC_MESSAGE_CONTROL5(ViewMsg_DOMStorageEvent,
string16 /* key */,
@@ -1890,6 +1897,23 @@
FilePath /* the name of the file */,
int32 /* a unique message ID */)
+ // Notifies the browser process that a new database has been opened
+ IPC_MESSAGE_CONTROL4(ViewHostMsg_DatabaseOpened,
+ string16 /* origin identifier */,
+ string16 /* database name */,
+ string16 /* database description */,
+ int64 /* estimated size */)
+
+ // Notifies the browser process that a database might have been modified
+ IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseModified,
+ string16 /* origin identifier */,
+ string16 /* database name */)
+
+ // Notifies the browser process that a database is about to close
+ IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseClosed,
+ string16 /* origin identifier */,
+ string16 /* database name */)
+
//---------------------------------------------------------------------------
// Socket Stream messages:
// These are messages from the SocketStreamHandle to the browser.
« 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