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

Issue 5722003: Make DOMStorageDispatcherHost be a message filter (and rename it accordingly)... (Closed)

Created:
10 years ago by jam
Modified:
9 years, 6 months ago
Reviewers:
jorlow
CC:
chromium-reviews
Visibility:
Public.

Description

Make DOMStorageDispatcherHost be a message filter (and rename it accordingly). It now derives from BrowserMessageFilter and hence gets message dispatching to different threads for free. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=69049

Patch Set 1 : '' #

Patch Set 2 : '' #

Total comments: 1

Patch Set 3 : sync #

Total comments: 7

Patch Set 4 : get rid of _DELAY_HANDLE macro #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+584 lines, -1027 lines) Patch
M chrome/browser/in_process_webkit/browser_webkitclient_impl.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/in_process_webkit/dom_storage_area.h View 1 2 3 chunks +2 lines, -9 lines 0 comments Download
M chrome/browser/in_process_webkit/dom_storage_area.cc View 1 2 3 chunks +3 lines, -5 lines 0 comments Download
M chrome/browser/in_process_webkit/dom_storage_context.h View 1 2 3 chunks +12 lines, -12 lines 0 comments Download
M chrome/browser/in_process_webkit/dom_storage_context.cc View 1 2 2 chunks +15 lines, -15 lines 0 comments Download
D chrome/browser/in_process_webkit/dom_storage_dispatcher_host.h View 1 2 1 chunk +0 lines, -117 lines 0 comments Download
D chrome/browser/in_process_webkit/dom_storage_dispatcher_host.cc View 1 2 1 chunk +0 lines, -341 lines 0 comments Download
D chrome/browser/in_process_webkit/dom_storage_dispatcher_host_unittest.cc View 1 2 1 chunk +0 lines, -9 lines 0 comments Download
A + chrome/browser/in_process_webkit/dom_storage_message_filter.h View 1 2 3 2 chunks +34 lines, -56 lines 0 comments Download
A + chrome/browser/in_process_webkit/dom_storage_message_filter.cc View 1 2 3 1 chunk +100 lines, -215 lines 0 comments Download
A + chrome/browser/in_process_webkit/dom_storage_message_filter_unittest.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/in_process_webkit/dom_storage_namespace.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/renderer_host/browser_render_process_host.cc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/resource_message_filter.h View 1 2 4 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/renderer_host/resource_message_filter.cc View 1 2 7 chunks +5 lines, -12 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/dom_storage_common.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/common/dom_storage_messages.h View 1 2 3 1 chunk +125 lines, -0 lines 0 comments Download
A chrome/common/dom_storage_messages.cc View 1 2 1 chunk +125 lines, -0 lines 0 comments Download
M chrome/common/render_messages.h View 1 2 4 chunks +0 lines, -70 lines 0 comments Download
M chrome/common/render_messages_internal.h View 1 2 2 chunks +0 lines, -49 lines 0 comments Download
M chrome/common/render_messages_params.h View 1 2 3 chunks +0 lines, -33 lines 0 comments Download
M chrome/common/render_messages_params.cc View 1 2 2 chunks +0 lines, -46 lines 0 comments Download
M chrome/renderer/render_thread.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/renderer/render_thread.cc View 1 2 4 chunks +7 lines, -7 lines 0 comments Download
M chrome/renderer/renderer_webstoragearea_impl.cc View 1 2 3 5 chunks +13 lines, -15 lines 0 comments Download
M chrome/test/render_view_test.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ipc/ipc_message_impl_macros.h View 1 2 3 1 chunk +55 lines, -0 lines 2 comments Download
M ipc/ipc_message_macros.h View 1 2 3 3 chunks +64 lines, -0 lines 0 comments Download
M ipc/ipc_message_utils.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
jam
10 years ago (2010-12-10 21:52:36 UTC) #1
jorlow
What's going on here? I'm pretty sure I reviewed this already (with a thread darin ...
10 years ago (2010-12-13 10:36:15 UTC) #2
jam
On Mon, Dec 13, 2010 at 2:36 AM, <jorlow@chromium.org> wrote: > What's going on here? ...
10 years ago (2010-12-13 16:30:00 UTC) #3
jorlow
LGTM http://codereview.chromium.org/5722003/diff/68001/chrome/browser/in_process_webkit/dom_storage_message_filter.cc File chrome/browser/in_process_webkit/dom_storage_message_filter.cc (right): http://codereview.chromium.org/5722003/diff/68001/chrome/browser/in_process_webkit/dom_storage_message_filter.cc#newcode125 chrome/browser/in_process_webkit/dom_storage_message_filter.cc:125: make_scoped_refptr(url_request_context->host_content_settings_map()))); I think you can just get the ...
10 years ago (2010-12-13 17:56:52 UTC) #4
jam
i've taken the hostcontentsettingsmap directly from the profile per your suggestion, and also made all ...
10 years ago (2010-12-13 19:07:00 UTC) #5
jorlow
LGTM minus my 1 comment http://codereview.chromium.org/5722003/diff/8003/ipc/ipc_message_impl_macros.h File ipc/ipc_message_impl_macros.h (right): http://codereview.chromium.org/5722003/diff/8003/ipc/ipc_message_impl_macros.h#newcode333 ipc/ipc_message_impl_macros.h:333: #define IPC_SYNC_MESSAGE_CONTROL4_3_EXTRA(msg_class, type1_in, type2_in, ...
10 years ago (2010-12-13 19:25:11 UTC) #6
jam
http://codereview.chromium.org/5722003/diff/8003/ipc/ipc_message_impl_macros.h File ipc/ipc_message_impl_macros.h (right): http://codereview.chromium.org/5722003/diff/8003/ipc/ipc_message_impl_macros.h#newcode333 ipc/ipc_message_impl_macros.h:333: #define IPC_SYNC_MESSAGE_CONTROL4_3_EXTRA(msg_class, type1_in, type2_in, \ On 2010/12/13 19:25:11, jorlow ...
10 years ago (2010-12-13 19:37:59 UTC) #7
jorlow
10 years ago (2010-12-13 20:35:34 UTC) #8
LGTM

On Mon, Dec 13, 2010 at 7:37 PM, <jam@chromium.org> wrote:

>
>
> http://codereview.chromium.org/5722003/diff/8003/ipc/ipc_message_impl_macros.h
> File ipc/ipc_message_impl_macros.h (right):
>
>
>
http://codereview.chromium.org/5722003/diff/8003/ipc/ipc_message_impl_macros....
> ipc/ipc_message_impl_macros.h:333: #define
> IPC_SYNC_MESSAGE_CONTROL4_3_EXTRA(msg_class, type1_in, type2_in, \
> On 2010/12/13 19:25:11, jorlow wrote:
>
>> Hmm.....in theory, this probably means we should be switching over
>>
> that method
>
>> to using params.  If someone like Darin or Brett are OK with this, I'm
>>
> fine
>
>> though.
>>
>
> async routed/control and sync routed had messages with 5 inputs, so i
> decided to make this match (it wasn't done before out of laziness)
>
>
> http://codereview.chromium.org/5722003/
>

Powered by Google App Engine
This is Rietveld 408576698