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

Issue 1118233002: Introduce SharedMemoryDataConsumerHandle. (Closed)

Created:
5 years, 7 months ago by yhirano
Modified:
5 years, 6 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@data-received-with-ack
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Introduce SharedMemoryDataConsumerHandle. Introduce SharedMemoryDataConsumerHandle which is a WebDataConsumerHandle implementation for Chrome IPC Shared Buffer. Currently the handler can only be used on the thread on which it is created, but it should be fixed in the future. BUG=480746 Committed: https://crrev.com/2cb393011228d099d9e42611dd397767ec12c2f7 Cr-Commit-Position: refs/heads/master@{#332788}

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : rebase #

Total comments: 2

Patch Set 7 : #

Patch Set 8 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+827 lines, -3 lines) Patch
A content/child/shared_memory_data_consumer_handle.h View 1 1 chunk +62 lines, -0 lines 0 comments Download
A content/child/shared_memory_data_consumer_handle.cc View 1 2 3 4 5 1 chunk +192 lines, -0 lines 0 comments Download
A content/child/shared_memory_data_consumer_handle_unittest.cc View 1 2 3 4 5 6 7 1 chunk +568 lines, -0 lines 0 comments Download
M content/content_child.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/public/child/fixed_received_data.h View 1 2 3 4 5 2 chunks +1 line, -2 lines 0 comments Download
M content/public/child/fixed_received_data.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 22 (9 generated)
yhirano
This CL depends on https://codereview.chromium.org/1103813002/.
5 years, 7 months ago (2015-05-08 08:01:48 UTC) #5
yhirano
ping
5 years, 7 months ago (2015-05-20 06:57:52 UTC) #6
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/1118233002/diff/80001/content/child/shared_memory_data_consumer_handle.cc File content/child/shared_memory_data_consumer_handle.cc (right): https://codereview.chromium.org/1118233002/diff/80001/content/child/shared_memory_data_consumer_handle.cc#newcode167 content/child/shared_memory_data_consumer_handle.cc:167: context_->AdvanceFirstOffset(read_size); how about exposing only a single method named ...
5 years, 7 months ago (2015-05-26 08:05:14 UTC) #7
yhirano
https://codereview.chromium.org/1118233002/diff/80001/content/child/shared_memory_data_consumer_handle.cc File content/child/shared_memory_data_consumer_handle.cc (right): https://codereview.chromium.org/1118233002/diff/80001/content/child/shared_memory_data_consumer_handle.cc#newcode167 content/child/shared_memory_data_consumer_handle.cc:167: context_->AdvanceFirstOffset(read_size); On 2015/05/26 08:05:13, tyoshino wrote: > how about ...
5 years, 7 months ago (2015-05-26 08:19:43 UTC) #8
tyoshino (SeeGerritForStatus)
lgtm https://codereview.chromium.org/1118233002/diff/100001/content/child/shared_memory_data_consumer_handle.cc File content/child/shared_memory_data_consumer_handle.cc (right): https://codereview.chromium.org/1118233002/diff/100001/content/child/shared_memory_data_consumer_handle.cc#newcode76 content/child/shared_memory_data_consumer_handle.cc:76: one blank line
5 years, 6 months ago (2015-05-28 07:59:53 UTC) #9
yhirano
https://codereview.chromium.org/1118233002/diff/100001/content/child/shared_memory_data_consumer_handle.cc File content/child/shared_memory_data_consumer_handle.cc (right): https://codereview.chromium.org/1118233002/diff/100001/content/child/shared_memory_data_consumer_handle.cc#newcode76 content/child/shared_memory_data_consumer_handle.cc:76: On 2015/05/28 07:59:52, tyoshino wrote: > one blank line ...
5 years, 6 months ago (2015-05-28 08:10:59 UTC) #10
yhirano
+nasko for OWNER review.
5 years, 6 months ago (2015-06-03 08:35:20 UTC) #13
nasko
Adding avi@ to take a look at this one for OWNERS review.
5 years, 6 months ago (2015-06-03 14:18:35 UTC) #15
Avi (use Gerrit)
Really only nits; lgtm. https://codereview.chromium.org/1118233002/diff/180001/content/child/shared_memory_data_consumer_handle_unittest.cc File content/child/shared_memory_data_consumer_handle_unittest.cc (right): https://codereview.chromium.org/1118233002/diff/180001/content/child/shared_memory_data_consumer_handle_unittest.cc#newcode109 content/child/shared_memory_data_consumer_handle_unittest.cc:109: EXPECT_EQ(result, kShouldWait); nit: expected as ...
5 years, 6 months ago (2015-06-03 15:53:32 UTC) #16
yhirano
Thanks! https://codereview.chromium.org/1118233002/diff/180001/content/child/shared_memory_data_consumer_handle_unittest.cc File content/child/shared_memory_data_consumer_handle_unittest.cc (right): https://codereview.chromium.org/1118233002/diff/180001/content/child/shared_memory_data_consumer_handle_unittest.cc#newcode109 content/child/shared_memory_data_consumer_handle_unittest.cc:109: EXPECT_EQ(result, kShouldWait); On 2015/06/03 15:53:31, Avi wrote: > ...
5 years, 6 months ago (2015-06-04 05:05:24 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1118233002/220001
5 years, 6 months ago (2015-06-04 05:05:48 UTC) #20
commit-bot: I haz the power
Committed patchset #8 (id:220001)
5 years, 6 months ago (2015-06-04 06:08:13 UTC) #21
commit-bot: I haz the power
5 years, 6 months ago (2015-06-04 06:09:15 UTC) #22
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/2cb393011228d099d9e42611dd397767ec12c2f7
Cr-Commit-Position: refs/heads/master@{#332788}

Powered by Google App Engine
This is Rietveld 408576698