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

Issue 6903118: A database to hold mappings from origin identifiers to unique directory names. (Closed)

Created:
9 years, 7 months ago by ericu
Modified:
9 years, 7 months ago
CC:
chromium-reviews, pam+watch_chromium.org, kinuko+watch, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

A database to hold mappings from origin identifiers to unique directory names. BUG=NONE TEST=included Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=84029

Patch Set 1 #

Patch Set 2 : Fixed ordering in gypi #

Total comments: 28

Patch Set 3 : Rolled in code review feedback. #

Patch Set 4 : Fix include paths to make checkdeps happy. #

Patch Set 5 : Add a missing include that breaks windows. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+416 lines, -0 lines) Patch
A webkit/fileapi/file_system_origin_database.h View 1 2 3 1 chunk +55 lines, -0 lines 0 comments Download
A webkit/fileapi/file_system_origin_database.cc View 1 2 3 4 1 chunk +190 lines, -0 lines 0 comments Download
A webkit/fileapi/file_system_origin_database_unittest.cc View 1 2 1 chunk +166 lines, -0 lines 0 comments Download
M webkit/fileapi/webkit_fileapi.gypi View 1 2 chunks +3 lines, -0 lines 0 comments Download
M webkit/tools/test_shell/test_shell.gypi View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
ericu
Here's the first component of the obfuscated filesystem. David, could you just check my use ...
9 years, 7 months ago (2011-04-28 21:50:29 UTC) #1
michaeln
thnx for the small CL, looks nice modulo some nits http://codereview.chromium.org/6903118/diff/2001/webkit/fileapi/file_system_origin_database.cc File webkit/fileapi/file_system_origin_database.cc (right): http://codereview.chromium.org/6903118/diff/2001/webkit/fileapi/file_system_origin_database.cc#newcode15 ...
9 years, 7 months ago (2011-04-28 23:13:44 UTC) #2
dgrogan
Leveldb stuff LGTM. http://codereview.chromium.org/6903118/diff/2001/webkit/fileapi/file_system_origin_database_unittest.cc File webkit/fileapi/file_system_origin_database_unittest.cc (right): http://codereview.chromium.org/6903118/diff/2001/webkit/fileapi/file_system_origin_database_unittest.cc#newcode91 webkit/fileapi/file_system_origin_database_unittest.cc:91: EXPECT_TRUE(database.HasOriginPath(origin)); HasOriginPath's call to Init() reopens ...
9 years, 7 months ago (2011-04-29 01:34:25 UTC) #3
dgrogan
Sorry, 2 more questions. http://codereview.chromium.org/6903118/diff/2001/webkit/fileapi/file_system_origin_database.cc File webkit/fileapi/file_system_origin_database.cc (right): http://codereview.chromium.org/6903118/diff/2001/webkit/fileapi/file_system_origin_database.cc#newcode90 webkit/fileapi/file_system_origin_database.cc:90: path_string = base::IntToString(last_path_number + 1); ...
9 years, 7 months ago (2011-04-29 01:44:47 UTC) #4
ericu
I've addressed all your comments and uploaded a new version. http://codereview.chromium.org/6903118/diff/2001/webkit/fileapi/file_system_origin_database.cc File webkit/fileapi/file_system_origin_database.cc (right): http://codereview.chromium.org/6903118/diff/2001/webkit/fileapi/file_system_origin_database.cc#newcode15 ...
9 years, 7 months ago (2011-04-30 00:44:41 UTC) #5
dgrogan
Leveldb stuff LGTM.
9 years, 7 months ago (2011-04-30 00:59:31 UTC) #6
michaeln
LGTM2
9 years, 7 months ago (2011-05-02 01:03:35 UTC) #7
commit-bot: I haz the power
Try job failure for 6903118-5001 on win: http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win&number=29330
9 years, 7 months ago (2011-05-02 17:03:16 UTC) #8
dgrogan
D'oh, this has something to do with leveldb. ..\..\third_party\leveldb\include\leveldb/db.h(8) : fatal error C1083: Cannot open ...
9 years, 7 months ago (2011-05-02 17:07:52 UTC) #9
ericu
According to a quick web search, stdint.h isn't in VS before 2010, as it's a ...
9 years, 7 months ago (2011-05-02 17:17:06 UTC) #10
ericu
Ah, there's a version inside leveldb that's conditionally included, and my Linux tryjob just failed ...
9 years, 7 months ago (2011-05-02 17:22:58 UTC) #11
commit-bot: I haz the power
9 years, 7 months ago (2011-05-04 02:29:19 UTC) #12
Change committed as 84029

Powered by Google App Engine
This is Rietveld 408576698