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

Issue 760823002: Introduce Stream::flush [2/2 chromium] (Closed)

Created:
6 years ago by horo
Modified:
6 years ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, kinuko+fileapi, nhiroki, tzik, zork+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Introduce Stream::flush [2/2 chromium] There is no way to flush the buffer in the stream. This cl introduces Stream::flush method. We can flush the buffer in the browser process using this method from blink. We will use this method when we send the data from the ServiceWorker to the browser process progressively. 1/2 blink: https://codereview.chromium.org/747323007/ 2/2 chromium: https://codereview.chromium.org/760823002/ BUG=436424 Committed: https://crrev.com/c93d25b4d2cb0981bfc1723bc401ff23c9302e58 Cr-Commit-Position: refs/heads/master@{#307684}

Patch Set 1 : #

Total comments: 4

Patch Set 2 : fix comments #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -0 lines) Patch
M content/browser/fileapi/fileapi_message_filter.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/fileapi/fileapi_message_filter.cc View 2 chunks +8 lines, -0 lines 2 comments Download
M content/browser/streams/stream.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/streams/stream.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M content/browser/streams/stream_unittest.cc View 1 1 chunk +28 lines, -0 lines 0 comments Download
M content/child/webblobregistry_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/child/webblobregistry_impl.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M content/common/fileapi/webblob_messages.h View 1 chunk +4 lines, -0 lines 0 comments Download
M content/test/mock_webblob_registry_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/test/mock_webblob_registry_impl.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (7 generated)
horo
tyoshino@ Could you please review?
6 years ago (2014-11-26 02:09:47 UTC) #3
tyoshino (SeeGerritForStatus)
lgtm https://codereview.chromium.org/760823002/diff/20001/content/browser/streams/stream.h File content/browser/streams/stream.h (right): https://codereview.chromium.org/760823002/diff/20001/content/browser/streams/stream.h#newcode71 content/browser/streams/stream.h:71: // Flush contents buffered in the stream to ...
6 years ago (2014-11-26 05:59:49 UTC) #4
horo
https://codereview.chromium.org/760823002/diff/20001/content/browser/streams/stream.h File content/browser/streams/stream.h (right): https://codereview.chromium.org/760823002/diff/20001/content/browser/streams/stream.h#newcode71 content/browser/streams/stream.h:71: // Flush contents buffered in the stream to the ...
6 years ago (2014-11-26 06:06:29 UTC) #5
horo
zork@ Could you please review content/browser/streams/stream.*?
6 years ago (2014-11-26 06:07:06 UTC) #7
horo
nhiroki@ Could you please review content/browser/fileapi/fileapi_message_filter.*?
6 years ago (2014-11-26 06:07:26 UTC) #9
nhiroki
LGTM for fileapi_message_filter.*
6 years ago (2014-11-26 06:13:43 UTC) #10
horo
zork@ Ping?
6 years ago (2014-12-02 10:51:09 UTC) #11
Zachary Kuznia
On 2014/12/02 10:51:09, horo(ooo -Dec.3) wrote: > zork@ > Ping? c/b/streams/* LGTM
6 years ago (2014-12-02 14:44:40 UTC) #12
horo
jochen@ Could you please review content/child/webblobregistry_impl.* and content/test/mock_webblob_registry_impl.*?
6 years ago (2014-12-04 06:26:15 UTC) #14
horo
mkwst@ Could you please review content/common/fileapi/webblob_messages.h?
6 years ago (2014-12-04 06:26:45 UTC) #16
Mike West
IPC LGTM.
6 years ago (2014-12-04 13:38:13 UTC) #17
jochen (gone - plz use gerrit)
https://codereview.chromium.org/760823002/diff/40001/content/browser/fileapi/fileapi_message_filter.cc File content/browser/fileapi/fileapi_message_filter.cc (right): https://codereview.chromium.org/760823002/diff/40001/content/browser/fileapi/fileapi_message_filter.cc#newcode660 content/browser/fileapi/fileapi_message_filter.cc:660: if (stream.get()) when can this happen? Should we kill ...
6 years ago (2014-12-08 12:06:41 UTC) #18
horo
https://codereview.chromium.org/760823002/diff/40001/content/browser/fileapi/fileapi_message_filter.cc File content/browser/fileapi/fileapi_message_filter.cc (right): https://codereview.chromium.org/760823002/diff/40001/content/browser/fileapi/fileapi_message_filter.cc#newcode660 content/browser/fileapi/fileapi_message_filter.cc:660: if (stream.get()) On 2014/12/08 12:06:41, jochen (slow) wrote: > ...
6 years ago (2014-12-09 02:28:51 UTC) #19
jochen (gone - plz use gerrit)
lgtm
6 years ago (2014-12-10 10:13:58 UTC) #20
horo
Thank you!
6 years ago (2014-12-10 10:16:52 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/760823002/40001
6 years ago (2014-12-10 10:17:24 UTC) #23
commit-bot: I haz the power
Committed patchset #2 (id:40001)
6 years ago (2014-12-10 11:58:22 UTC) #24
commit-bot: I haz the power
6 years ago (2014-12-10 11:59:13 UTC) #25
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/c93d25b4d2cb0981bfc1723bc401ff23c9302e58
Cr-Commit-Position: refs/heads/master@{#307684}

Powered by Google App Engine
This is Rietveld 408576698