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

Issue 174232: Chromium side patch for DB support on Linux. (Closed)

Created:
11 years, 4 months ago by dumi
Modified:
9 years, 7 months ago
Reviewers:
michaeln, agl, dglazkov
CC:
chromium-reviews_googlegroups.com, John Grabowski, darin (slow to review), brettw, jam, Ben Goodger (Google)
Visibility:
Public.

Description

Chromium side patch for DB support on Linux. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=24807

Patch Set 1 #

Patch Set 2 : Cleaned up version. #

Total comments: 19

Patch Set 3 : Addressed all comments, but haven't tested it yet. #

Total comments: 6

Patch Set 4 : Updated patch with most comments addressed. Will test it on Windows and Mac too. #

Patch Set 5 : Tested on Linux and Mac. Still need to test the patch on Windows. #

Patch Set 6 : Minor fix: forgot to change a 'false' to a '-1'. #

Total comments: 24

Patch Set 7 : Tested on all 3 platforms. Addressed Michael's comments. #

Patch Set 8 : Final version, including changes to the DEPS file. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+337 lines, -60 lines) Patch
M DEPS View 1 chunk +1 line, -1 line 0 comments Download
M base/platform_file.h View 1 2 3 4 5 6 7 1 chunk +5 lines, -2 lines 0 comments Download
M base/platform_file_posix.cc View 1 2 3 4 5 6 7 2 chunks +12 lines, -0 lines 0 comments Download
M base/platform_file_win.cc View 1 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/database_dispatcher_host.h View 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/renderer_host/database_dispatcher_host.cc View 1 2 3 4 5 6 7 10 chunks +185 lines, -25 lines 0 comments Download
M chrome/common/db_message_filter.cc View 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/common/render_messages.h View 4 5 6 7 3 chunks +41 lines, -0 lines 0 comments Download
M chrome/common/render_messages_internal.h View 3 4 5 6 7 3 chunks +9 lines, -4 lines 0 comments Download
M chrome/renderer/renderer_webkitclient_impl.h View 4 5 6 7 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/renderer/renderer_webkitclient_impl.cc View 3 4 5 6 7 3 chunks +43 lines, -9 lines 0 comments Download
M third_party/sqlite/README.chromium View 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/sqlite/src/os_unix.c View 1 2 3 4 5 6 7 2 chunks +8 lines, -1 line 0 comments Download
M webkit/api/public/WebKitClient.h View 4 5 6 7 1 chunk +4 lines, -3 lines 0 comments Download
M webkit/api/src/ChromiumBridge.cpp View 4 5 6 7 1 chunk +4 lines, -4 lines 0 comments Download
M webkit/glue/webkitclient_impl.h View 4 5 6 7 1 chunk +4 lines, -2 lines 0 comments Download
M webkit/glue/webkitclient_impl.cc View 4 5 6 7 1 chunk +7 lines, -4 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
dumi
Adam: How can i send a "good" fd to the renderer process in database_dispatcher_host.cc? OpenFileFlagsAreConsistent() ...
11 years, 4 months ago (2009-08-21 17:55:21 UTC) #1
dumi
See issue 173205 for WebKit side changes. Michael, Dimitri: I refactored a bit the code ...
11 years, 4 months ago (2009-08-21 18:07:43 UTC) #2
agl
http://codereview.chromium.org/174232/diff/8/12 File chrome/browser/renderer_host/database_dispatcher_host.cc (right): http://codereview.chromium.org/174232/diff/8/12#newcode57 Line 57: int fileType = flags & 0x00007F00; these should ...
11 years, 4 months ago (2009-08-21 18:12:07 UTC) #3
michaeln
http://codereview.chromium.org/174232/diff/8/11 File base/platform_file_posix.cc (right): http://codereview.chromium.org/174232/diff/8/11#newcode67 Line 67: unlink(WideToUTF8(name).c_str()); Does this effectively delete the file prior ...
11 years, 4 months ago (2009-08-21 18:40:14 UTC) #4
dumi
http://codereview.chromium.org/174232/diff/8/11 File base/platform_file_posix.cc (right): http://codereview.chromium.org/174232/diff/8/11#newcode67 Line 67: unlink(WideToUTF8(name).c_str()); On 2009/08/21 18:40:14, michaeln wrote: > Does ...
11 years, 4 months ago (2009-08-21 20:26:14 UTC) #5
michaeln
http://codereview.chromium.org/174232/diff/1017/16 File base/platform_file_posix.cc (right): http://codereview.chromium.org/174232/diff/1017/16#newcode67 Line 67: unlink(WideToUTF8(name).c_str()); probably should only do this if the ...
11 years, 4 months ago (2009-08-22 19:53:47 UTC) #6
dumi
http://codereview.chromium.org/174232/diff/1017/16 File base/platform_file_posix.cc (right): http://codereview.chromium.org/174232/diff/1017/16#newcode67 Line 67: unlink(WideToUTF8(name).c_str()); On 2009/08/22 19:53:47, michaeln wrote: > probably ...
11 years, 4 months ago (2009-08-24 18:22:54 UTC) #7
michaeln
I think the subtle platform specific 'delete on close' behavior of the platform file abstraction ...
11 years, 4 months ago (2009-08-25 19:52:11 UTC) #8
dumi
http://codereview.chromium.org/174232/diff/1057/1061 File chrome/browser/renderer_host/database_dispatcher_host.cc (right): http://codereview.chromium.org/174232/diff/1057/1061#newcode179 Line 179: int fileType = params.desired_flags & 0x00007F00; On 2009/08/25 ...
11 years, 4 months ago (2009-08-26 19:35:03 UTC) #9
michaeln
11 years, 4 months ago (2009-08-26 20:33:43 UTC) #10
LGTM

Powered by Google App Engine
This is Rietveld 408576698