Adding a mock for PeerConnectionHandler together with the chromium embedders. No actual LayoutTests since the plumbing needs to be done in chromium first.
Created attachment 127980 [details] Patch
Comment on attachment 127980 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=127980&action=review > Source/WebCore/mediastream/PeerConnection.h:56 > + // Name and values of the enum must match the corressponding constants in the PeerConnection.idl file. Presumably the compiler enforces this with a COMPILE_ASSERT. > Source/WebKit/chromium/src/WebPeerConnectionHandlerMock.cpp:56 > +WebPeerConnectionHandlerMock:: ~WebPeerConnectionHandlerMock() Extra space after the ::
Comment on attachment 127980 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=127980&action=review >> Source/WebCore/mediastream/PeerConnection.h:56 >> + // Name and values of the enum must match the corressponding constants in the PeerConnection.idl file. > > Presumably the compiler enforces this with a COMPILE_ASSERT. You're right so I removed the comment. >> Source/WebKit/chromium/src/WebPeerConnectionHandlerMock.cpp:56 >> +WebPeerConnectionHandlerMock:: ~WebPeerConnectionHandlerMock() > > Extra space after the :: Fixed.
Created attachment 128450 [details] Patch
Please wait for approval from fishd@chromium.org before submitting because this patch contains changes to the Chromium public API.
Comment on attachment 128450 [details] Patch Why are mocks part of WebCore / WebKit and not just part of DumpRenderTree?