Chromium Code Reviews
Help | Chromium Project | Sign in
(159)

Issue 2746003: Support WebSQLDatabases in incognito mode. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
4 years, 11 months ago by dumi
Modified:
4 years ago
CC:
chromium-reviews, jam+cc_chromium.org, dpranke+watch_chromium.org, ben+cc_chromium.org, pam+watch_chromium.org, brettw-cc_chromium.org, darin-cc_chromium.org, Eric U., jorlow
Visibility:
Public.

Description

Support WebSQLDatabases in incognito mode. BUG=43232 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=49644

Patch Set 1 #

Patch Set 2 : Updated some files I initially missed. #

Patch Set 3 : This time for real... #

Total comments: 8

Patch Set 4 : Addressed Michael's comments. #

Total comments: 2

Patch Set 5 : Minor Linux fix. #

Total comments: 6

Patch Set 6 : Addressed Michael's comments + Darin's comments about changing dir names. #

Patch Set 7 : Fixed the unittest. #

Patch Set 8 : Minor fix. #

Total comments: 19

Patch Set 9 : Addressed Michael's latest comments. #

Total comments: 4

Patch Set 10 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+529 lines, -355 lines) Patch
M chrome/browser/profile.cc View 1 2 3 4 5 6 7 8 3 chunks +20 lines, -9 lines 0 comments Download
M chrome/browser/renderer_host/database_dispatcher_host.cc View 1 2 3 4 5 6 7 8 3 chunks +38 lines, -6 lines 0 comments Download
M chrome/test/testing_profile.cc View 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M webkit/database/database_tracker.h View 1 2 3 4 5 6 7 8 6 chunks +36 lines, -3 lines 0 comments Download
M webkit/database/database_tracker.cc View 1 2 3 4 5 6 7 8 7 chunks +96 lines, -13 lines 0 comments Download
M webkit/database/database_tracker_unittest.cc View 3 4 5 6 7 8 1 chunk +284 lines, -285 lines 0 comments Download
M webkit/database/vfs_backend.h View 1 2 3 4 5 6 7 8 2 chunks +8 lines, -4 lines 0 comments Download
M webkit/database/vfs_backend.cc View 1 2 3 4 5 6 7 8 5 chunks +41 lines, -26 lines 0 comments Download
M webkit/tools/test_shell/simple_database_system.cc View 1 2 3 4 5 6 7 8 4 chunks +5 lines, -8 lines 0 comments Download
Commit: CQ not working?

Messages

Total messages: 14 (0 generated)
dumi
4 years, 11 months ago (2010-06-08 09:11:13 UTC) #1
michaeln
Nice looking CL! Can you also try this on the layout bots.
4 years, 11 months ago (2010-06-08 16:29:37 UTC) #2
darin (slow to review)
LGTM2 http://codereview.chromium.org/2746003/diff/17001/18002 File chrome/browser/renderer_host/database_dispatcher_host.cc (right): http://codereview.chromium.org/2746003/diff/17001/18002#newcode173 chrome/browser/renderer_host/database_dispatcher_host.cc:173: // a handle to this DB file. If ...
4 years, 11 months ago (2010-06-08 19:04:05 UTC) #3
dumi
michael: the layout tests cannot test this code path, because there's no way to force ...
4 years, 11 months ago (2010-06-08 20:35:35 UTC) #4
michaeln
Right... there's no good way to test this via test_shell since the dup'ing logic db_dispatcher_host. ...
4 years, 11 months ago (2010-06-08 23:33:07 UTC) #5
dumi
added a bit more code to handle journal files, like we discussed: hold an open ...
4 years, 11 months ago (2010-06-09 02:56:50 UTC) #6
dumi
Forgot to mention that it looks like we don't need to worry about the user ...
4 years, 11 months ago (2010-06-09 03:04:45 UTC) #7
michaeln
http://codereview.chromium.org/2746003/diff/20004/31007 File webkit/database/database_util.cc (right): http://codereview.chromium.org/2746003/diff/20004/31007#newcode47 webkit/database/database_util.cc:47: static const string16 JOURNAL_FILE_SUFFIX = ASCIIToUTF16("-journal"); Please don't use ...
4 years, 11 months ago (2010-06-09 19:07:53 UTC) #8
dumi
other changes: 1. in incognito mode the directory names are not the same as the ...
4 years, 11 months ago (2010-06-10 02:36:26 UTC) #9
michaeln
My biggest question is do we want to incur the extra file io at startup ...
4 years, 11 months ago (2010-06-11 00:31:53 UTC) #10
dumi
http://codereview.chromium.org/2746003/diff/2002/11002 File chrome/browser/profile.cc (right): http://codereview.chromium.org/2746003/diff/2002/11002#newcode312 chrome/browser/profile.cc:312: false)); On 2010/06/11 00:31:54, michaeln wrote: > Since we've ...
4 years, 11 months ago (2010-06-11 03:32:34 UTC) #11
michaeln
Please look at this pair of comments... otherwise LGTM http://codereview.chromium.org/2746003/diff/7003/54003 File chrome/browser/renderer_host/database_dispatcher_host.cc (right): http://codereview.chromium.org/2746003/diff/7003/54003#newcode252 chrome/browser/renderer_host/database_dispatcher_host.cc:252: ...
4 years, 11 months ago (2010-06-11 19:44:37 UTC) #12
dumi
http://codereview.chromium.org/2746003/diff/7003/54003 File chrome/browser/renderer_host/database_dispatcher_host.cc (right): http://codereview.chromium.org/2746003/diff/7003/54003#newcode252 chrome/browser/renderer_host/database_dispatcher_host.cc:252: if ((error_code == SQLITE_IOERR_DELETE) && reschedule_count) { On 2010/06/11 ...
4 years, 11 months ago (2010-06-11 20:16:17 UTC) #13
michaeln
4 years, 11 months ago (2010-06-11 20:18:39 UTC) #14
still LGTM
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld ec887be