RESOLVED FIXED 149527
Clean up user media request internal API
https://bugs.webkit.org/show_bug.cgi?id=149527
Summary Clean up user media request internal API
Eric Carlson
Reported 2015-09-24 09:51:18 PDT
Clean up user media request internal API
Attachments
Proposed patch. (32.71 KB, patch)
2015-09-24 12:12 PDT, Eric Carlson
thorton: review+
Updated patch. (37.56 KB, patch)
2015-09-24 14:10 PDT, Eric Carlson
no flags
Another updated patch (36.80 KB, patch)
2015-09-24 14:53 PDT, Eric Carlson
commit-queue: commit-queue-
YAUP (40.71 KB, patch)
2015-09-25 08:56 PDT, Eric Carlson
no flags
Another try at updating the GTK build for the changes. (41.08 KB, patch)
2015-09-25 13:37 PDT, Eric Carlson
no flags
One more time... (41.46 KB, patch)
2015-09-25 14:54 PDT, Eric Carlson
no flags
One more time - redux (43.13 KB, patch)
2015-09-25 18:46 PDT, Eric Carlson
no flags
Radar WebKit Bug Importer
Comment 1 2015-09-24 09:51:59 PDT
Eric Carlson
Comment 2 2015-09-24 12:12:36 PDT
Created attachment 261884 [details] Proposed patch.
Tim Horton
Comment 3 2015-09-24 12:36:41 PDT
Comment on attachment 261884 [details] Proposed patch. View in context: https://bugs.webkit.org/attachment.cgi?id=261884&action=review > Source/WebCore/Modules/mediastream/UserMediaRequest.cpp:128 > + m_audioDeviceUIDs.append(audioTrack->persistentId()); while you're changing this, you should capitalize the D! > Source/WebCore/Modules/mediastream/UserMediaRequest.h:96 > + String m_videoDeviceUIDAllowed; something that ends in -allowed sounds like it would be a bool. should this be m_allowedVideoDeviceUID? > Source/WebKit2/UIProcess/UserMediaPermissionRequestManagerProxy.cpp:41 > +PassRefPtr<UserMediaPermissionRequestProxy> UserMediaPermissionRequestManagerProxy::createRequest(uint64_t userMediaID, const Vector<String>& deviceUIDsAudio, const Vector<String>& deviceUIDsVideo) what are the 's'es for? should this be audioDeviceUIDs?
Eric Carlson
Comment 4 2015-09-24 12:43:42 PDT
(In reply to comment #3) > Comment on attachment 261884 [details] > Proposed patch. > > View in context: > https://bugs.webkit.org/attachment.cgi?id=261884&action=review > > > Source/WebCore/Modules/mediastream/UserMediaRequest.cpp:128 > > + m_audioDeviceUIDs.append(audioTrack->persistentId()); > > while you're changing this, you should capitalize the D! > Fixed. > > Source/WebCore/Modules/mediastream/UserMediaRequest.h:96 > > + String m_videoDeviceUIDAllowed; > > something that ends in -allowed sounds like it would be a bool. should this > be m_allowedVideoDeviceUID? > Hmm, then it would match the allowedVideoDeviceUID() accessor too! Fixed. > > Source/WebKit2/UIProcess/UserMediaPermissionRequestManagerProxy.cpp:41 > > +PassRefPtr<UserMediaPermissionRequestProxy> UserMediaPermissionRequestManagerProxy::createRequest(uint64_t userMediaID, const Vector<String>& deviceUIDsAudio, const Vector<String>& deviceUIDsVideo) > > what are the 's'es for? should this be audioDeviceUIDs? Fixed.
Eric Carlson
Comment 5 2015-09-24 14:10:39 PDT
Created attachment 261895 [details] Updated patch.
Eric Carlson
Comment 6 2015-09-24 14:53:18 PDT
Created attachment 261896 [details] Another updated patch
WebKit Commit Bot
Comment 7 2015-09-24 16:11:11 PDT
Comment on attachment 261896 [details] Another updated patch Rejecting attachment 261896 [details] from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-01', 'validate-changelog', '--check-oops', '--non-interactive', 261896, '--port=mac']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit Tim Thorton found in /Volumes/Data/EWS/WebKit/Source/WebCore/ChangeLog does not appear to be a valid reviewer according to contributors.json. /Volumes/Data/EWS/WebKit/Source/WebCore/ChangeLog neither lists a valid reviewer nor contains the string "Unreviewed" or "Rubber stamp" (case insensitive). Full output: http://webkit-queues.webkit.org/results/209499
Eric Carlson
Comment 8 2015-09-25 08:56:54 PDT
Eric Carlson
Comment 9 2015-09-25 13:37:54 PDT
Created attachment 261935 [details] Another try at updating the GTK build for the changes.
Eric Carlson
Comment 10 2015-09-25 14:54:19 PDT
Created attachment 261944 [details] One more time...
Eric Carlson
Comment 11 2015-09-25 18:46:44 PDT
Created attachment 261959 [details] One more time - redux
WebKit Commit Bot
Comment 12 2015-09-25 19:23:22 PDT
Comment on attachment 261959 [details] One more time - redux Clearing flags on attachment: 261959 Committed r190262: <http://trac.webkit.org/changeset/190262>
WebKit Commit Bot
Comment 13 2015-09-25 19:23:26 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.