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

Side by Side Diff: content/renderer/media/mock_web_peer_connection_handler_client.h

Issue 8060055: Adding support for MediaStream and PeerConnection functionality (Closed) Base URL: http://git.chromium.org/chromium/chromium.git@trunk
Patch Set: Changes for new WebKit interface. New PeerConnectionHandler class broken out from MediaStreamImpl. Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_RENDERER_MEDIA_MOCK_WEB_PEER_CONNECTION_HANDLER_CLIENT_H_
6 #define CONTENT_RENDERER_MEDIA_MOCK_WEB_PEER_CONNECTION_HANDLER_CLIENT_H_
7
8 #include <string>
9
10 #include "base/basictypes.h"
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPeerConnectionHand lerClient.h"
12
13 namespace WebKit {
14
15 class MockWebPeerConnectionHandlerClient
16 : public WebPeerConnectionHandlerClient {
17 public:
18 MockWebPeerConnectionHandlerClient();
19 virtual ~MockWebPeerConnectionHandlerClient();
20
21 // WebPeerConnectionHandlerClient implementation.
22 virtual void didCompleteICEProcessing();
23 virtual void didGenerateSDP(const WebString& sdp);
24 virtual void didReceiveDataStreamMessage(const char* data, size_t length);
25 virtual void didAddRemoteStream(const WebMediaStreamDescriptor&);
26 virtual void didRemoveRemoteStream(const WebMediaStreamDescriptor&);
27
28 std::string sdp() const { return sdp_; }
tommi (sloooow) - chröme 2011/11/08 12:27:24 const std::string&
Henrik Grunell 2011/11/08 22:06:41 Done.
29
30 private:
31 std::string sdp_;
32
33 DISALLOW_COPY_AND_ASSIGN(MockWebPeerConnectionHandlerClient);
34 };
35
36 } // namespace WebKit
37
38 #endif // CONTENT_RENDERER_MEDIA_MOCK_WEB_PEER_CONNECTION_HANDLER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698