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

Issue 3107026: Add IPC plumbing code for FileSystem API's openFileSystem (Closed)

Created:
10 years, 4 months ago by kinuko
Modified:
9 years, 7 months ago
CC:
chromium-reviews, brettw-cc_chromium.org, darin-cc_chromium.org, ben+cc_chromium.org, dumi
Visibility:
Public.

Description

Add 1st cut of IPC plumbing code for FileSystem API's openFileSystem The dispatcher host code is just a stub. BUG=32277 TESTS=none; will be added later Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=56984

Patch Set 1 #

Patch Set 2 : stripped #

Total comments: 18

Patch Set 3 : added fixes #

Total comments: 4

Patch Set 4 : fixed comments #

Total comments: 18

Patch Set 5 : fixed nits #

Patch Set 6 : rebase #

Total comments: 1

Patch Set 7 : nits fix + rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+284 lines, -2 lines) Patch
A chrome/browser/file_system/file_system_dispatcher_host.h View 1 2 3 4 1 chunk +46 lines, -0 lines 0 comments Download
A chrome/browser/file_system/file_system_dispatcher_host.cc View 1 2 3 4 1 chunk +81 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/resource_message_filter.h View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/resource_message_filter.cc View 1 2 3 4 5 chunks +11 lines, -2 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/render_messages.h View 1 2 3 4 2 chunks +50 lines, -0 lines 0 comments Download
M chrome/common/render_messages_internal.h View 1 2 3 4 2 chunks +15 lines, -0 lines 0 comments Download
M chrome/common/webkit_param_traits.h View 5 6 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/renderer/render_view.h View 1 2 3 4 5 chunks +16 lines, -0 lines 0 comments Download
M chrome/renderer/render_view.cc View 1 2 3 4 6 chunks +53 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
kinuko
10 years, 4 months ago (2010-08-19 17:53:58 UTC) #1
Eric U.
I'm no expert in this area, but it looks generally good to me. http://codereview.chromium.org/3107026/diff/6001/7006 File ...
10 years, 4 months ago (2010-08-19 18:46:45 UTC) #2
michaeln
LGTM modulo nits http://codereview.chromium.org/3107026/diff/6001/7001 File chrome/browser/file_system/file_system_dispatcher_host.cc (right): http://codereview.chromium.org/3107026/diff/6001/7001#newcode54 chrome/browser/file_system/file_system_dispatcher_host.cc:54: { move bracket up a line ...
10 years, 4 months ago (2010-08-19 18:54:10 UTC) #3
michaeln
couple other minor comments... the response message handler rename we talked about sounds good... OnOpenFileSystemComplete. ...
10 years, 4 months ago (2010-08-19 19:17:25 UTC) #4
kinuko
Thanks! I updated the patch. http://codereview.chromium.org/3107026/diff/6001/7001 File chrome/browser/file_system/file_system_dispatcher_host.cc (right): http://codereview.chromium.org/3107026/diff/6001/7001#newcode54 chrome/browser/file_system/file_system_dispatcher_host.cc:54: { On 2010/08/19 18:54:11, ...
10 years, 4 months ago (2010-08-19 19:40:59 UTC) #5
Eric U.
http://codereview.chromium.org/3107026/diff/27001/28006 File chrome/common/render_messages.h (right): http://codereview.chromium.org/3107026/diff/27001/28006#newcode880 chrome/common/render_messages.h:880: // The requesting FileSystem type. This must be one ...
10 years, 4 months ago (2010-08-19 19:54:33 UTC) #6
kinuko
http://codereview.chromium.org/3107026/diff/27001/28006 File chrome/common/render_messages.h (right): http://codereview.chromium.org/3107026/diff/27001/28006#newcode880 chrome/common/render_messages.h:880: // The requesting FileSystem type. This must be one ...
10 years, 4 months ago (2010-08-19 21:55:49 UTC) #7
Eric U.
Great, thanks. LGTM. On Thu, Aug 19, 2010 at 2:55 PM, <kinuko@chromium.org> wrote: > > ...
10 years, 4 months ago (2010-08-19 22:01:55 UTC) #8
darin (slow to review)
Looks good... just some nits: http://codereview.chromium.org/3107026/diff/33001/34006 File chrome/common/render_messages.h (right): http://codereview.chromium.org/3107026/diff/33001/34006#newcode872 chrome/common/render_messages.h:872: int routing_id_; nit: public ...
10 years, 4 months ago (2010-08-20 04:52:11 UTC) #9
kinuko
Thanks, all fixed. http://codereview.chromium.org/3107026/diff/33001/34006 File chrome/common/render_messages.h (right): http://codereview.chromium.org/3107026/diff/33001/34006#newcode872 chrome/common/render_messages.h:872: int routing_id_; On 2010/08/20 04:52:11, darin ...
10 years, 4 months ago (2010-08-20 18:39:26 UTC) #10
darin (slow to review)
LGTM w/ nits: http://codereview.chromium.org/3107026/diff/49001/46018 File chrome/common/webkit_param_traits.h (right): http://codereview.chromium.org/3107026/diff/49001/46018#newcode332 chrome/common/webkit_param_traits.h:332: struct ParamTraits<WebKit::WebFileSystem::Type> { There's a new ...
10 years, 4 months ago (2010-08-20 23:26:12 UTC) #11
kinuko
10 years, 4 months ago (2010-08-21 00:06:24 UTC) #12
On 2010/08/20 23:26:12, darin wrote:
> LGTM w/ nits:
> 
> http://codereview.chromium.org/3107026/diff/49001/46018
> File chrome/common/webkit_param_traits.h (right):
> 
> http://codereview.chromium.org/3107026/diff/49001/46018#newcode332
> chrome/common/webkit_param_traits.h:332: struct
> ParamTraits<WebKit::WebFileSystem::Type> {
> There's a new way to write this that is not yet widely used:
> 
> template <>
> struct SimilarTypeTraits<WebKit::WebFileSystem::Type> {
>   typedef int Type;
> };
> 
> This is a lot simpler.  You don't get the nice logging, but that's not a big
> deal.  (We should really use SimilarTypeTraits elsewhere!)

Oh I had wondered if I could do so because no one was doing that for WebKit
types.  Thanks I'll do that!

Powered by Google App Engine
This is Rietveld 408576698