diff options
author | dumi@chromium.org <dumi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-24 03:32:59 +0000 |
---|---|---|
committer | dumi@chromium.org <dumi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-24 03:32:59 +0000 |
commit | e2b2d4ae919f7df1ca65eaace83e4d6cf5084e47 (patch) | |
tree | 49d1df1766d402f6f34eb3fab0be57aef4216053 /chrome/common | |
parent | 73142769aac422267b84568000a5cc2a4b024f3d (diff) | |
download | chromium_src-e2b2d4ae919f7df1ca65eaace83e4d6cf5084e47.zip chromium_src-e2b2d4ae919f7df1ca65eaace83e4d6cf5084e47.tar.gz chromium_src-e2b2d4ae919f7df1ca65eaace83e4d6cf5084e47.tar.bz2 |
Implementing WebDatabaseObserver in the renderer process.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/293038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29993 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/render_messages_internal.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h index ab4397c..ceebdea 100644 --- a/chrome/common/render_messages_internal.h +++ b/chrome/common/render_messages_internal.h @@ -760,6 +760,13 @@ IPC_BEGIN_MESSAGES(View) 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 @@ IPC_BEGIN_MESSAGES(ViewHost) 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. |