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

Issue 1418263006: Extend VideoCaptureDevice::Client::OnError() to have a tracked_objects::Location param. (Closed)

Created:
5 years, 1 month ago by mcasas
Modified:
5 years, 1 month ago
CC:
chromium-reviews, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Extend VideoCaptureDevice::Client::OnError() to have a tracked_objects::Location param. Every now and then a bug report would include WebRtc logs with an error string: this is generated in VideoCaptureDevice::Client::OnError() and has no origin information. This CL adds that in a way that clients add the classical FROM_HERE, so that the error log includes the originating file and line. Committed: https://crrev.com/71929f7a5802e2991e7a2e90c6d01f8cd363423b Cr-Commit-Position: refs/heads/master@{#357154}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+206 lines, -121 lines) Patch
M content/browser/media/capture/aura_window_capture_machine.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/media/capture/desktop_capture_device.cc View 1 chunk +1 line, -3 lines 0 comments Download
M content/browser/media/capture/desktop_capture_device_aura_unittest.cc View 3 chunks +5 lines, -2 lines 0 comments Download
M content/browser/media/capture/desktop_capture_device_unittest.cc View 7 chunks +9 lines, -7 lines 0 comments Download
M content/browser/media/capture/web_contents_video_capture_device.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/media/capture/web_contents_video_capture_device_unittest.cc View 1 chunk +4 lines, -1 line 0 comments Download
M content/browser/renderer_host/media/video_capture_controller_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_device_client.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/media/video_capture_device_client.cc View 2 chunks +6 lines, -4 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/capture/content/screen_capture_device_core.h View 3 chunks +7 lines, -2 lines 0 comments Download
M media/capture/content/screen_capture_device_core.cc View 4 chunks +13 lines, -14 lines 1 comment Download
M media/capture/content/thread_safe_capture_oracle.h View 2 chunks +6 lines, -1 line 0 comments Download
M media/capture/content/thread_safe_capture_oracle.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M media/capture/video/android/video_capture_device_android.h View 2 chunks +6 lines, -1 line 0 comments Download
M media/capture/video/android/video_capture_device_android.cc View 5 chunks +9 lines, -6 lines 0 comments Download
M media/capture/video/fake_video_capture_device_unittest.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M media/capture/video/file_video_capture_device.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/capture/video/linux/v4l2_capture_delegate.h View 2 chunks +6 lines, -1 line 0 comments Download
M media/capture/video/linux/v4l2_capture_delegate.cc View 13 chunks +21 lines, -18 lines 0 comments Download
M media/capture/video/linux/video_capture_device_linux.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/capture/video/mac/video_capture_device_avfoundation_mac.mm View 2 chunks +2 lines, -1 line 0 comments Download
M media/capture/video/mac/video_capture_device_decklink_mac.h View 2 chunks +6 lines, -1 line 0 comments Download
M media/capture/video/mac/video_capture_device_decklink_mac.mm View 7 chunks +17 lines, -12 lines 0 comments Download
M media/capture/video/mac/video_capture_device_mac.h View 2 chunks +8 lines, -2 lines 0 comments Download
M media/capture/video/mac/video_capture_device_mac.mm View 5 chunks +16 lines, -11 lines 0 comments Download
M media/capture/video/mac/video_capture_device_qtkit_mac.mm View 2 chunks +2 lines, -1 line 0 comments Download
M media/capture/video/video_capture_device.h View 2 chunks +6 lines, -1 line 0 comments Download
M media/capture/video/video_capture_device_unittest.cc View 6 chunks +8 lines, -6 lines 0 comments Download
M media/capture/video/win/video_capture_device_mf_win.h View 2 chunks +5 lines, -1 line 0 comments Download
M media/capture/video/win/video_capture_device_mf_win.cc View 3 chunks +7 lines, -3 lines 0 comments Download
M media/capture/video/win/video_capture_device_win.h View 2 chunks +6 lines, -1 line 0 comments Download
M media/capture/video/win/video_capture_device_win.cc View 7 chunks +12 lines, -9 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
mcasas
tommi@: PTAL miu@: tiny thing in media/capture/content/screen_capture_device_core.{cc,h} https://chromiumcodereview.appspot.com/1418263006/diff/20001/media/capture/content/screen_capture_device_core.cc File media/capture/content/screen_capture_device_core.cc (right): https://chromiumcodereview.appspot.com/1418263006/diff/20001/media/capture/content/screen_capture_device_core.cc#newcode107 media/capture/content/screen_capture_device_core.cc:107: static const ...
5 years, 1 month ago (2015-10-29 23:06:08 UTC) #5
tommi (sloooow) - chröme
Is the error string that we report today, not unique?
5 years, 1 month ago (2015-10-30 15:38:14 UTC) #6
mcasas
On 2015/10/30 15:38:14, tommi wrote: > Is the error string that we report today, not ...
5 years, 1 month ago (2015-10-30 15:51:06 UTC) #7
tommi (sloooow) - chröme
On 2015/10/30 15:51:06, mcasas wrote: > On 2015/10/30 15:38:14, tommi wrote: > > Is the ...
5 years, 1 month ago (2015-10-30 15:56:01 UTC) #8
mcasas
On 2015/10/30 15:56:01, tommi wrote: > On 2015/10/30 15:51:06, mcasas wrote: > > On 2015/10/30 ...
5 years, 1 month ago (2015-10-30 16:08:30 UTC) #9
tommi (sloooow) - chröme
On 2015/10/30 16:08:30, mcasas wrote: > On 2015/10/30 15:56:01, tommi wrote: > > On 2015/10/30 ...
5 years, 1 month ago (2015-10-30 16:09:51 UTC) #10
miu
lgtm
5 years, 1 month ago (2015-10-30 17:55:00 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1418263006/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1418263006/20001
5 years, 1 month ago (2015-10-30 18:14:18 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:20001)
5 years, 1 month ago (2015-10-30 18:47:29 UTC) #14
commit-bot: I haz the power
5 years, 1 month ago (2015-10-30 18:48:14 UTC) #15
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/71929f7a5802e2991e7a2e90c6d01f8cd363423b
Cr-Commit-Position: refs/heads/master@{#357154}

Powered by Google App Engine
This is Rietveld 408576698