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

Issue 1657103002: Remove unnecessary loop and quit in CronetChunkedOutputStream (Closed)

Created:
4 years, 10 months ago by xunjieli
Modified:
4 years, 5 months ago
Reviewers:
pauljensen
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove unnecessary loop and quit in CronetChunkedOutputStream The MessageLoop.loop() in CronetChunkedOutputStream.close() is potentially problematic. If the user closes the OutputStream unintentionally when MessageLoop is not going to be quit, it might wait forever. This removes the corresponding unnecessary quit(). BUG=626653 Committed: https://crrev.com/578950706701e926c468cc1ab8128e94bd032e08 Cr-Commit-Position: refs/heads/master@{#404391}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address Comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -7 lines) Patch
M components/cronet/android/java/src/org/chromium/net/urlconnection/CronetChunkedOutputStream.java View 1 2 chunks +6 lines, -7 lines 0 comments Download

Messages

Total messages: 19 (12 generated)
xunjieli
Paul, PTAL.
4 years, 10 months ago (2016-02-02 15:02:18 UTC) #3
pauljensen
lgtm though might be good to have a test or explain in the CL description ...
4 years, 10 months ago (2016-02-04 15:27:26 UTC) #5
xunjieli
Done. Thanks! Since this API is getting more exercised now. I think it deserves a ...
4 years, 5 months ago (2016-07-08 14:02:14 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/1657103002/20001
4 years, 5 months ago (2016-07-08 14:03:31 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-08 15:18:39 UTC) #16
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-08 15:18:53 UTC) #17
commit-bot: I haz the power
4 years, 5 months ago (2016-07-08 15:20:20 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/578950706701e926c468cc1ab8128e94bd032e08
Cr-Commit-Position: refs/heads/master@{#404391}

Powered by Google App Engine
This is Rietveld 408576698