Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Issue 11876007: Connecting webrtc-internals WebUI frontend with the backend (Closed)

Created:
7 years, 11 months ago by jiayl
Modified:
7 years, 11 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, arv (Not doing code reviews), darin-cc_chromium.org, juberti2
Base URL:
https://chromium.googlesource.com/chromium/src.git@main
Visibility:
Public.

Description

Connecting webrtc-internals WebUI frontend with the backend BUG=168232 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=178272

Patch Set 1 : #

Total comments: 7

Patch Set 2 : Move files to webui/media and add namespace media #

Total comments: 4

Patch Set 3 : fix vrk's comment #

Total comments: 8

Patch Set 4 : Rename WebRTCInternalsInterface #

Patch Set 5 : Moving ChromeWebRTCInternals to UI thread #

Total comments: 8

Patch Set 6 : Fixing jam's comments #

Total comments: 13

Patch Set 7 : Fixing jam's comments #

Patch Set 8 : #

Total comments: 2

Patch Set 9 : resolve conflicts #

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : #

Patch Set 13 : #

Patch Set 14 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+355 lines, -372 lines) Patch
M chrome/browser/chrome_content_browser_client.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +5 lines, -0 lines 0 comments Download
A chrome/browser/media/chrome_webrtc_internals.h View 1 2 3 4 5 6 1 chunk +47 lines, -0 lines 0 comments Download
A chrome/browser/media/chrome_webrtc_internals.cc View 1 2 3 4 5 6 7 1 chunk +91 lines, -0 lines 0 comments Download
A + chrome/browser/media/chrome_webrtc_internals_unittest.cc View 1 2 3 4 5 6 chunks +15 lines, -23 lines 0 comments Download
A + chrome/browser/media/webrtc_internals_ui_observer.h View 1 2 3 4 5 2 chunks +5 lines, -7 lines 0 comments Download
M chrome/browser/resources/webrtc_internals/webrtc_internals.html View 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/browser/resources/webrtc_internals/webrtc_internals.js View 1 chunk +39 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +1 line, -1 line 0 comments Download
A chrome/browser/ui/webui/media/webrtc_internals_message_handler.h View 1 2 3 4 5 1 chunk +31 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/media/webrtc_internals_message_handler.cc View 1 2 3 4 5 1 chunk +37 lines, -0 lines 0 comments Download
A + chrome/browser/ui/webui/media/webrtc_internals_ui.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
A + chrome/browser/ui/webui/media/webrtc_internals_ui.cc View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -1 line 0 comments Download
D chrome/browser/ui/webui/webrtc_internals_ui.h View 1 1 chunk +0 lines, -19 lines 0 comments Download
D chrome/browser/ui/webui/webrtc_internals_ui.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -41 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
D content/browser/media/webrtc_internals.h View 1 chunk +0 lines, -52 lines 0 comments Download
D content/browser/media/webrtc_internals.cc View 1 chunk +0 lines, -84 lines 0 comments Download
D content/browser/media/webrtc_internals_ui_observer.h View 1 chunk +0 lines, -26 lines 0 comments Download
D content/browser/media/webrtc_internals_unittest.cc View 1 chunk +0 lines, -99 lines 0 comments Download
M content/browser/renderer_host/media/peer_connection_tracker_host.h View 1 2 3 4 5 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/media/peer_connection_tracker_host.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +22 lines, -5 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -2 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -1 line 0 comments Download
M content/public/browser/content_browser_client.h View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -1 line 0 comments Download
M content/public/browser/content_browser_client.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
A content/public/browser/webrtc_internals.h View 1 2 3 1 chunk +33 lines, -0 lines 0 comments Download

Messages

Total messages: 46 (0 generated)
jiayl
This change connects the webrtc-internals backend with the WebUI frontend to have a funtional webrtc-internals ...
7 years, 11 months ago (2013-01-12 01:33:23 UTC) #1
vrk (LEFT CHROMIUM)
LGTM for media stuff. Sorry for the delay and thanks for moving things into media ...
7 years, 11 months ago (2013-01-15 22:54:13 UTC) #2
jiayl
Fixed vrk's comments. Thanks! https://codereview.chromium.org/11876007/diff/9001/chrome/browser/media/webrtc_internals.h File chrome/browser/media/webrtc_internals.h (right): https://codereview.chromium.org/11876007/diff/9001/chrome/browser/media/webrtc_internals.h#newcode20 chrome/browser/media/webrtc_internals.h:20: class WebRTCInternals : public content::WebRTCInternalsInterface{ ...
7 years, 11 months ago (2013-01-15 23:03:31 UTC) #3
juberti
https://codereview.chromium.org/11876007/diff/9001/content/public/browser/webrtc_internals_interface.h File content/public/browser/webrtc_internals_interface.h (right): https://codereview.chromium.org/11876007/diff/9001/content/public/browser/webrtc_internals_interface.h#newcode13 content/public/browser/webrtc_internals_interface.h:13: class WebRTCInternalsInterface { Not sure what the prevailing style ...
7 years, 11 months ago (2013-01-16 01:11:21 UTC) #4
jiayl
On 2013/01/16 01:11:21, juberti wrote: > https://codereview.chromium.org/11876007/diff/9001/content/public/browser/webrtc_internals_interface.h > File content/public/browser/webrtc_internals_interface.h (right): > > https://codereview.chromium.org/11876007/diff/9001/content/public/browser/webrtc_internals_interface.h#newcode13 > ...
7 years, 11 months ago (2013-01-16 01:43:48 UTC) #5
juberti
On 2013/01/16 01:43:48, jiayl wrote: > On 2013/01/16 01:11:21, juberti wrote: > > > https://codereview.chromium.org/11876007/diff/9001/content/public/browser/webrtc_internals_interface.h ...
7 years, 11 months ago (2013-01-16 05:58:10 UTC) #6
jam
https://codereview.chromium.org/11876007/diff/17001/content/public/browser/webrtc_internals_interface.h File content/public/browser/webrtc_internals_interface.h (right): https://codereview.chromium.org/11876007/diff/17001/content/public/browser/webrtc_internals_interface.h#newcode13 content/public/browser/webrtc_internals_interface.h:13: class WebRTCInternalsInterface { nit: interface is redundant. it's also ...
7 years, 11 months ago (2013-01-16 16:55:46 UTC) #7
jiayl
https://codereview.chromium.org/11876007/diff/17001/content/public/browser/webrtc_internals_interface.h File content/public/browser/webrtc_internals_interface.h (right): https://codereview.chromium.org/11876007/diff/17001/content/public/browser/webrtc_internals_interface.h#newcode13 content/public/browser/webrtc_internals_interface.h:13: class WebRTCInternalsInterface { On 2013/01/16 16:55:46, John Abd-El-Malek wrote: ...
7 years, 11 months ago (2013-01-16 17:08:53 UTC) #8
jam
I didn't look at the whole change in detail. but it seems that the ICPs, ...
7 years, 11 months ago (2013-01-16 19:36:05 UTC) #9
jiayl
On 2013/01/16 19:36:05, John Abd-El-Malek wrote: > I didn't look at the whole change in ...
7 years, 11 months ago (2013-01-16 20:13:13 UTC) #10
jam
On Wed, Jan 16, 2013 at 12:13 PM, <[email protected]> wrote: > On 2013/01/16 19:36:05, John ...
7 years, 11 months ago (2013-01-16 20:15:52 UTC) #11
jiayl
On 2013/01/16 20:15:52, John Abd-El-Malek wrote: > On Wed, Jan 16, 2013 at 12:13 PM, ...
7 years, 11 months ago (2013-01-16 20:51:09 UTC) #12
csilv
chrome/browser/ui/webui/, chrome/browser/resources/ lgtm
7 years, 11 months ago (2013-01-16 21:23:18 UTC) #13
jiayl
I did more search and still could not find a good example of using it ...
7 years, 11 months ago (2013-01-17 00:29:27 UTC) #14
jam
On 2013/01/17 00:29:27, jiayl wrote: > I did more search and still could not find ...
7 years, 11 months ago (2013-01-17 00:51:48 UTC) #15
jiayl1
How can I get the RenderViewHost pointer to pass to the constructor? If the observer ...
7 years, 11 months ago (2013-01-17 01:02:34 UTC) #16
jiayl
An updated patch is uploaded for renaming WebRTCInternalsInterface. I didn't make PeerConnectionTrackerHost to implement RenderViewHostObserver ...
7 years, 11 months ago (2013-01-17 19:14:11 UTC) #17
jiayl
A new patch is uploaded to move ChromeWebRTCInternals to UI thread and remove WebRTCInternalsProxy. This ...
7 years, 11 months ago (2013-01-17 19:35:30 UTC) #18
jam
https://codereview.chromium.org/11876007/diff/33001/chrome/browser/media/chrome_webrtc_internals.cc File chrome/browser/media/chrome_webrtc_internals.cc (right): https://codereview.chromium.org/11876007/diff/33001/chrome/browser/media/chrome_webrtc_internals.cc#newcode33 chrome/browser/media/chrome_webrtc_internals.cc:33: if (observers_.size()) { nit: here and below, better to ...
7 years, 11 months ago (2013-01-18 18:27:33 UTC) #19
jiayl
A new patch fixed jam's comments. Please take another look. Thanks!! https://codereview.chromium.org/11876007/diff/33001/chrome/browser/media/chrome_webrtc_internals.cc File chrome/browser/media/chrome_webrtc_internals.cc (right): ...
7 years, 11 months ago (2013-01-18 19:20:00 UTC) #20
jam
https://codereview.chromium.org/11876007/diff/42001/chrome/browser/media/chrome_webrtc_internals.cc File chrome/browser/media/chrome_webrtc_internals.cc (right): https://codereview.chromium.org/11876007/diff/42001/chrome/browser/media/chrome_webrtc_internals.cc#newcode31 chrome/browser/media/chrome_webrtc_internals.cc:31: if (observers_.size()) { nit: early return here https://codereview.chromium.org/11876007/diff/42001/chrome/browser/media/chrome_webrtc_internals.cc#newcode49 chrome/browser/media/chrome_webrtc_internals.cc:49: ...
7 years, 11 months ago (2013-01-18 22:23:45 UTC) #21
jiayl
A new patch is uploaded for jam's comments. Please take another look. Thanks!! https://codereview.chromium.org/11876007/diff/42001/chrome/browser/media/chrome_webrtc_internals.cc File ...
7 years, 11 months ago (2013-01-18 22:39:51 UTC) #22
jam
https://codereview.chromium.org/11876007/diff/42001/chrome/browser/media/chrome_webrtc_internals.cc File chrome/browser/media/chrome_webrtc_internals.cc (right): https://codereview.chromium.org/11876007/diff/42001/chrome/browser/media/chrome_webrtc_internals.cc#newcode31 chrome/browser/media/chrome_webrtc_internals.cc:31: if (observers_.size()) { On 2013/01/18 22:39:51, jiayl wrote: > ...
7 years, 11 months ago (2013-01-18 22:52:01 UTC) #23
jiayl
https://codereview.chromium.org/11876007/diff/42001/chrome/browser/media/chrome_webrtc_internals.cc File chrome/browser/media/chrome_webrtc_internals.cc (right): https://codereview.chromium.org/11876007/diff/42001/chrome/browser/media/chrome_webrtc_internals.cc#newcode31 chrome/browser/media/chrome_webrtc_internals.cc:31: if (observers_.size()) { It's for sending the cached updates ...
7 years, 11 months ago (2013-01-18 22:59:05 UTC) #24
jam
https://codereview.chromium.org/11876007/diff/42001/chrome/browser/media/chrome_webrtc_internals.cc File chrome/browser/media/chrome_webrtc_internals.cc (right): https://codereview.chromium.org/11876007/diff/42001/chrome/browser/media/chrome_webrtc_internals.cc#newcode31 chrome/browser/media/chrome_webrtc_internals.cc:31: if (observers_.size()) { On 2013/01/18 22:59:06, jiayl wrote: > ...
7 years, 11 months ago (2013-01-22 07:03:12 UTC) #25
jiayl
You are right that creating 'id' in RemovePeerConnection is unnecessary. I moved the check back ...
7 years, 11 months ago (2013-01-22 17:14:11 UTC) #26
jiayl
Please see the new patch. Thanks! On 2013/01/22 17:14:11, jiayl wrote: > You are right ...
7 years, 11 months ago (2013-01-22 17:14:31 UTC) #27
jam
lgtm https://codereview.chromium.org/11876007/diff/53001/chrome/browser/media/chrome_webrtc_internals.cc File chrome/browser/media/chrome_webrtc_internals.cc (right): https://codereview.chromium.org/11876007/diff/53001/chrome/browser/media/chrome_webrtc_internals.cc#newcode86 chrome/browser/media/chrome_webrtc_internals.cc:86: DCHECK(observers_.size() > 0); nit: convention is to use ...
7 years, 11 months ago (2013-01-22 17:19:12 UTC) #28
jiayl
Thanks! observers_'s type is ObserverList, which does not have a "empty" method. That's why I ...
7 years, 11 months ago (2013-01-22 17:27:16 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/11876007/53001
7 years, 11 months ago (2013-01-22 17:27:53 UTC) #30
commit-bot: I haz the power
Failed to apply patch for chrome/chrome_browser.gypi: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 11 months ago (2013-01-22 17:28:00 UTC) #31
jam
https://codereview.chromium.org/11876007/diff/53001/chrome/browser/ui/webui/media/webrtc_internals_ui.cc File chrome/browser/ui/webui/media/webrtc_internals_ui.cc (right): https://codereview.chromium.org/11876007/diff/53001/chrome/browser/ui/webui/media/webrtc_internals_ui.cc#newcode42 chrome/browser/ui/webui/media/webrtc_internals_ui.cc:42: ChromeURLDataManager::AddDataSourceImpl(profile, because of r177854, you'll need to change this ...
7 years, 11 months ago (2013-01-22 17:39:30 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/11876007/52002
7 years, 11 months ago (2013-01-22 18:08:22 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/11876007/55003
7 years, 11 months ago (2013-01-22 18:25:59 UTC) #34
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) content_browsertests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=10814
7 years, 11 months ago (2013-01-22 19:30:48 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/11876007/57034
7 years, 11 months ago (2013-01-22 20:03:47 UTC) #36
commit-bot: I haz the power
Failed to apply patch for chrome/chrome_tests_unit.gypi: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 11 months ago (2013-01-22 20:03:56 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/11876007/65006
7 years, 11 months ago (2013-01-22 20:11:17 UTC) #38
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests, chrome_frame_net_tests, interactive_ui_tests, sync_integration_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=102108
7 years, 11 months ago (2013-01-22 21:21:56 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/11876007/65006
7 years, 11 months ago (2013-01-22 21:31:23 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/11876007/65006
7 years, 11 months ago (2013-01-23 06:16:04 UTC) #41
commit-bot: I haz the power
Failed to apply patch for chrome/chrome_browser_ui.gypi: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 11 months ago (2013-01-23 06:16:10 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/11876007/57036
7 years, 11 months ago (2013-01-23 06:33:28 UTC) #43
commit-bot: I haz the power
Retried try job too often on mac for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac&number=25184
7 years, 11 months ago (2013-01-23 06:42:54 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/11876007/55009
7 years, 11 months ago (2013-01-23 06:54:50 UTC) #45
commit-bot: I haz the power
7 years, 11 months ago (2013-01-23 09:00:49 UTC) #46
Message was sent while issue was closed.
Change committed as 178272

Powered by Google App Engine
This is Rietveld 408576698