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

Issue 3028033: Add a helper class that keeps per-profile information for FileSystem API (Closed)

Created:
10 years, 4 months ago by kinuko
Modified:
9 years, 7 months ago
CC:
chromium-reviews, ben+cc_chromium.org, Paweł Hajdan Jr., brettw-cc_chromium.org, darin-cc_chromium.org, Mark Mentovai
Visibility:
Public.

Description

Add a helper class that keeps per-profile information for FileSystem API BUG=32277 TEST=FileSystemHostContextTest Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=57715

Patch Set 1 #

Total comments: 14

Patch Set 2 : update #

Patch Set 3 : Add CanonicalizePath #

Patch Set 4 : rebase #

Total comments: 6

Patch Set 5 : update #

Total comments: 6

Patch Set 6 : update #

Patch Set 7 : fixed tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+289 lines, -5 lines) Patch
M chrome/browser/file_system/file_system_dispatcher_host.h View 3 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/file_system/file_system_dispatcher_host.cc View 5 2 chunks +35 lines, -5 lines 0 comments Download
A chrome/browser/file_system/file_system_host_context.h View 5 6 1 chunk +51 lines, -0 lines 0 comments Download
A chrome/browser/file_system/file_system_host_context.cc View 5 6 1 chunk +65 lines, -0 lines 0 comments Download
A chrome/browser/file_system/file_system_host_context_unittest.cc View 5 6 1 chunk +101 lines, -0 lines 0 comments Download
M chrome/browser/profile.h View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/profile.cc View 1 2 3 4 3 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/profile_impl.h View 4 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/profile_impl.cc View 4 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/resource_message_filter.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/testing_profile.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
kinuko
A small helper class that is going to be hooked up by a DispatcherHost for ...
10 years, 4 months ago (2010-07-29 02:14:21 UTC) #1
Paweł Hajdan Jr.
Drive-by with minor test comments. http://codereview.chromium.org/3028033/diff/1/4 File chrome/browser/filesystem_host_context_unittest.cc (right): http://codereview.chromium.org/3028033/diff/1/4#newcode79 chrome/browser/filesystem_host_context_unittest.cc:79: for (size_t i = ...
10 years, 4 months ago (2010-07-29 16:53:03 UTC) #2
michaeln
> I wondered if I should make a subdir, but for now just put under ...
10 years, 4 months ago (2010-07-29 22:48:40 UTC) #3
michaeln
http://codereview.chromium.org/3028033/diff/1/4 File chrome/browser/filesystem_host_context_unittest.cc (right): http://codereview.chromium.org/3028033/diff/1/4#newcode86 chrome/browser/filesystem_host_context_unittest.cc:86: kRootPathTestCases[i].persistent); nit: indent two more spaces http://codereview.chromium.org/3028033/diff/1/4#newcode102 chrome/browser/filesystem_host_context_unittest.cc:102: kCheckValidPathTestCases[i].origin_id, ...
10 years, 4 months ago (2010-07-29 22:50:05 UTC) #4
kinuko
Thanks for reviewing; On 2010/07/29 22:48:40, michaeln wrote: > > I wondered if I should ...
10 years, 4 months ago (2010-07-30 16:29:52 UTC) #5
kinuko
Updated CheckValidFileSystemPath to handle paths with parent references ('..').
10 years, 4 months ago (2010-07-31 02:10:47 UTC) #6
Paweł Hajdan Jr.
+mark to maybe suggest something better than #define PS for path separators. Code I commented ...
10 years, 4 months ago (2010-08-02 17:27:03 UTC) #7
michaeln
I think the addition of the /filesystem directory is basically good, but i wonder if ...
10 years, 4 months ago (2010-08-11 18:43:12 UTC) #8
Mark Mentovai
http://codereview.chromium.org/3028033/diff/34001/35003 File chrome/browser/filesystem/filesystem_host_context_unittest.cc (right): http://codereview.chromium.org/3028033/diff/34001/35003#newcode32 chrome/browser/filesystem/filesystem_host_context_unittest.cc:32: "FileSystem" PS "http_host_1" PS "Temporary" }, You can use ...
10 years, 4 months ago (2010-08-11 18:48:44 UTC) #9
Paweł Hajdan Jr.
Code I commented in the drive-by LGTM.
10 years, 4 months ago (2010-08-11 19:41:14 UTC) #10
kinuko
Reviving this patch... can you again take a look at this one? - removed path ...
10 years, 3 months ago (2010-08-26 17:06:15 UTC) #11
Eric U.
http://codereview.chromium.org/3028033/diff/49001/50001 File chrome/browser/file_system/file_system_dispatcher_host.cc (right): http://codereview.chromium.org/3028033/diff/49001/50001#newcode22 chrome/browser/file_system/file_system_dispatcher_host.cc:22: FileSystemHostContext* file_system_host_context, You're not using this parameter; looks like ...
10 years, 3 months ago (2010-08-26 22:13:47 UTC) #12
kinuko
Thanks, updated. http://codereview.chromium.org/3028033/diff/49001/50001 File chrome/browser/file_system/file_system_dispatcher_host.cc (right): http://codereview.chromium.org/3028033/diff/49001/50001#newcode22 chrome/browser/file_system/file_system_dispatcher_host.cc:22: FileSystemHostContext* file_system_host_context, On 2010/08/26 22:13:47, Eric U. ...
10 years, 3 months ago (2010-08-27 00:04:14 UTC) #13
Eric U.
LGTM
10 years, 3 months ago (2010-08-27 00:13:02 UTC) #14
michaeln
10 years, 3 months ago (2010-08-27 19:12:56 UTC) #15
LGTM!

Powered by Google App Engine
This is Rietveld 408576698