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

Unified Diff: chrome/common/render_messages_internal.h

Issue 174232: Chromium side patch for DB support on Linux. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Final version, including changes to the DEPS file. Created 11 years, 4 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/common/render_messages.h ('k') | chrome/renderer/renderer_webkitclient_impl.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 24791)
+++ chrome/common/render_messages_internal.h (working copy)
@@ -31,6 +31,10 @@
#include "webkit/glue/webcursor.h"
#include "webkit/glue/webplugin.h"
+#if defined(OS_POSIX)
+#include "base/file_descriptor_posix.h"
+#endif
+
// TODO(mpcomplete): rename ViewMsg and ViewHostMsg to something that makes
// more sense with our current design.
@@ -660,12 +664,12 @@
// Returns a file handle
IPC_MESSAGE_CONTROL2(ViewMsg_DatabaseOpenFileResponse,
int32 /* the ID of the message we're replying to */,
- base::PlatformFile /* the HANDLE/fd of the DB file */)
+ ViewMsg_DatabaseOpenFileResponse_Params)
- // Returns the error code returned by a call to DeleteFile()
+ // Returns a SQLite error code
IPC_MESSAGE_CONTROL2(ViewMsg_DatabaseDeleteFileResponse,
int32 /* the ID of the message we're replying to */,
- bool /* whether or not the DB file was deleted */)
+ int /* SQLite error code */)
// Returns the attributes of a file
IPC_MESSAGE_CONTROL2(ViewMsg_DatabaseGetFileAttributesResponse,
@@ -1679,8 +1683,9 @@
int32 /* a unique message ID */)
// Asks the browser process to delete a DB file
- IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseDeleteFile,
+ IPC_MESSAGE_CONTROL3(ViewHostMsg_DatabaseDeleteFile,
FilePath /* the name of the file */,
+ bool /* whether or not to sync the directory */,
int32 /* a unique message ID */)
// Asks the browser process to return the attributes of a DB file
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/renderer_webkitclient_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698