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

Issue 960103002: Rename VideoCaptureImplManager to VideoCaptureService

Created:
5 years, 10 months ago by qi1988.yang
Modified:
5 years, 9 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, posciak+watch_chromium.org, nasko+codewatch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Rename VideoCaptureImplManager to VideoCaptureService Fix TODO(hclam):This class should be renamed to videoCaptureService in file video_caputre_impl_manager.h. Because of a refactoring, The interface of VideoCapture is removed and VideoCaptureImpl is not the implementation of VideoCapture and VideoCaptureImplManager also became an inaccurate and bulky name. VideoCaptureImplManager provides a service to access video capture devices in the renderer process. VideoCaptureImpl should be hidden away from clients of the APIs. So VideoCaptureService is a better name. BUG=None

Patch Set 1 #

Patch Set 2 : fix some nits #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -571 lines) Patch
M content/content_renderer.gypi View 1 chunk +2 lines, -2 lines 0 comments Download
M content/content_tests.gypi View 1 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/media_stream_video_capturer_source.h View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/media_stream_video_capturer_source.cc View 5 chunks +9 lines, -9 lines 0 comments Download
M content/renderer/media/video_capture_impl.h View 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/media/video_capture_impl.cc View 1 chunk +2 lines, -2 lines 0 comments Download
D content/renderer/media/video_capture_impl_manager.h View 1 chunk +0 lines, -133 lines 0 comments Download
D content/renderer/media/video_capture_impl_manager.cc View 1 chunk +0 lines, -190 lines 0 comments Download
M content/renderer/media/video_capture_impl_manager_unittest.cc View 1 1 chunk +0 lines, -175 lines 0 comments Download
A + content/renderer/media/video_capture_service.h View 3 chunks +6 lines, -8 lines 5 comments Download
A + content/renderer/media/video_capture_service.cc View 10 chunks +14 lines, -14 lines 0 comments Download
A + content/renderer/media/video_capture_service_unittest.cc View 1 7 chunks +15 lines, -15 lines 0 comments Download
M content/renderer/pepper/pepper_platform_camera_device.h View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/pepper/pepper_platform_camera_device.cc View 1 3 chunks +5 lines, -5 lines 0 comments Download
M content/renderer/pepper/pepper_platform_video_capture.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M content/renderer/render_thread_impl.h View 3 chunks +3 lines, -3 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/render_view_impl.cc View 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 20 (6 generated)
qi1988.yang
PTAL, thanks!
5 years, 10 months ago (2015-02-26 07:24:33 UTC) #2
sandersd (OOO until July 31)
I was assuming that I was intended to leave most of this review to Alpha, ...
5 years, 9 months ago (2015-02-28 01:26:44 UTC) #4
Alpha Left Google
Please submit a try job to see if this builds. Otherwise like sandersd@ said please ...
5 years, 9 months ago (2015-02-28 01:38:42 UTC) #5
qi1988.yang
On 2015/02/28 01:38:42, Alpha wrote: > Please submit a try job to see if this ...
5 years, 9 months ago (2015-02-28 02:43:09 UTC) #6
qi1988.yang
On 2015/02/28 02:43:09, qi1988.yang wrote: > On 2015/02/28 01:38:42, Alpha wrote: > > Please submit ...
5 years, 9 months ago (2015-03-03 01:55:03 UTC) #7
Alpha Left Google
LGTM. Still needs owner approval though.
5 years, 9 months ago (2015-03-03 21:07:52 UTC) #8
sandersd (OOO until July 31)
lgtm for content/renderer/media.
5 years, 9 months ago (2015-03-03 21:11:03 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/960103002/20001
5 years, 9 months ago (2015-03-04 01:49:56 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: android_aosp on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_aosp/builds/64236) ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 9 months ago (2015-03-04 01:55:59 UTC) #13
qi1988.yang
davidben@ please help to review renderer/ except of media, thanks!
5 years, 9 months ago (2015-03-04 02:00:45 UTC) #14
qi1988.yang
5 years, 9 months ago (2015-03-04 02:01:10 UTC) #16
mcasas
On 2015/03/04 02:01:10, qi1988.yang wrote: Drive-by. I might off page here... but when having the ...
5 years, 9 months ago (2015-03-05 00:19:27 UTC) #17
qi1988.yang
5 years, 9 months ago (2015-03-06 02:38:54 UTC) #19
no sievers
5 years, 9 months ago (2015-03-06 19:36:09 UTC) #20
https://codereview.chromium.org/960103002/diff/20001/content/renderer/media/v...
File content/renderer/media/video_capture_service.h (right):

https://codereview.chromium.org/960103002/diff/20001/content/renderer/media/v...
content/renderer/media/video_capture_service.h:18: #define
CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_IMPL_MANAGER_H_
change this

https://codereview.chromium.org/960103002/diff/20001/content/renderer/media/v...
content/renderer/media/video_capture_service.h:37: class VideoCaptureImpl;
drop this?

https://codereview.chromium.org/960103002/diff/20001/content/renderer/media/v...
content/renderer/media/video_capture_service.h:87: // Make all existing
VideoCaptureImpl instances stop/resume delivering
still a lot of references to *Impl everywhere here?

https://codereview.chromium.org/960103002/diff/20001/content/renderer/media/v...
content/renderer/media/video_capture_service.h:96: virtual VideoCaptureImpl*
CreateVideoCaptureImplForTesting(
what about the return types?

https://codereview.chromium.org/960103002/diff/20001/content/renderer/media/v...
content/renderer/media/video_capture_service.h:131: #endif  //
CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_IMPL_MANAGER_H_
change this

Powered by Google App Engine
This is Rietveld 408576698