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

Issue 969573002: DevTools: response writers need to post to the UI while sending into streams. (Closed)

Created:
5 years, 9 months ago by pfeldman
Modified:
5 years, 9 months ago
Reviewers:
dgozman
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, jam, yurys, darin-cc_chromium.org, jochen+watch_chromium.org, devtools-reviews_chromium.org, mkwst+moarreviews-shell_chromium.org, aandrey+blink_chromium.org, pfeldman
Base URL:
https://chromium.googlesource.com/chromium/src.git@loadNetwork
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: response writers need to post to the UI while sending into streams. NOTRY=true R=dgozman BUG= Committed: https://crrev.com/1e8f0d0d11c64852776b04ed32beb4f38611ba00 Cr-Commit-Position: refs/heads/master@{#318617}

Patch Set 1 #

Total comments: 1

Patch Set 2 : using weak ptrs. #

Total comments: 2

Patch Set 3 : same with no streamfinish #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -54 lines) Patch
M chrome/browser/devtools/devtools_ui_bindings.cc View 1 2 4 chunks +13 lines, -11 lines 0 comments Download
M content/shell/browser/shell_devtools_frontend.h View 1 3 chunks +14 lines, -0 lines 0 comments Download
M content/shell/browser/shell_devtools_frontend.cc View 1 2 8 chunks +62 lines, -43 lines 0 comments Download

Messages

Total messages: 18 (6 generated)
pfeldman
5 years, 9 months ago (2015-02-28 14:58:11 UTC) #1
dgozman
Why don't just have WeakPtr<DevToolsUIBindings> stored in response writer? https://codereview.chromium.org/969573002/diff/1/chrome/browser/devtools/devtools_ui_bindings.cc File chrome/browser/devtools/devtools_ui_bindings.cc (right): https://codereview.chromium.org/969573002/diff/1/chrome/browser/devtools/devtools_ui_bindings.cc#newcode612 chrome/browser/devtools/devtools_ui_bindings.cc:612: ...
5 years, 9 months ago (2015-02-28 16:06:13 UTC) #2
pfeldman
PTAL
5 years, 9 months ago (2015-02-28 17:47:31 UTC) #3
dgozman
lgtm https://codereview.chromium.org/969573002/diff/20001/content/shell/browser/shell_devtools_frontend.cc File content/shell/browser/shell_devtools_frontend.cc (right): https://codereview.chromium.org/969573002/diff/20001/content/shell/browser/shell_devtools_frontend.cc#newcode206 content/shell/browser/shell_devtools_frontend.cc:206: web_contents()->GetMainFrame()->ExecuteJavaScript( Use CallClientFunction.
5 years, 9 months ago (2015-02-28 18:12:05 UTC) #4
pfeldman
https://codereview.chromium.org/969573002/diff/20001/content/shell/browser/shell_devtools_frontend.cc File content/shell/browser/shell_devtools_frontend.cc (right): https://codereview.chromium.org/969573002/diff/20001/content/shell/browser/shell_devtools_frontend.cc#newcode206 content/shell/browser/shell_devtools_frontend.cc:206: web_contents()->GetMainFrame()->ExecuteJavaScript( I'd need to wrap true into fundamental value, ...
5 years, 9 months ago (2015-02-28 18:38:13 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/969573002/20001
5 years, 9 months ago (2015-02-28 18:39:06 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/892)
5 years, 9 months ago (2015-02-28 18:43:31 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/969573002/40001
5 years, 9 months ago (2015-02-28 19:51:57 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/899)
5 years, 9 months ago (2015-02-28 19:56:10 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/969573002/40001
5 years, 9 months ago (2015-03-01 07:14:36 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 9 months ago (2015-03-01 07:15:03 UTC) #17
commit-bot: I haz the power
5 years, 9 months ago (2015-03-01 07:15:35 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/1e8f0d0d11c64852776b04ed32beb4f38611ba00
Cr-Commit-Position: refs/heads/master@{#318617}

Powered by Google App Engine
This is Rietveld 408576698