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

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

Issue 9558001: libjingle roll 117:119 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 8 years, 9 months 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 | Annotate | Revision Log
« no previous file with comments | « DEPS ('k') | content/renderer/media/peer_connection_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_MEDIA_PEER_CONNECTION_HANDLER_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_PEER_CONNECTION_HANDLER_H_
6 #define CONTENT_RENDERER_MEDIA_PEER_CONNECTION_HANDLER_H_ 6 #define CONTENT_RENDERER_MEDIA_PEER_CONNECTION_HANDLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 // We will be deleted by WebKit after stop has been returned. 57 // We will be deleted by WebKit after stop has been returned.
58 virtual void stop() OVERRIDE; 58 virtual void stop() OVERRIDE;
59 59
60 // webrtc::PeerConnectionObserver implementation 60 // webrtc::PeerConnectionObserver implementation
61 virtual void OnError() OVERRIDE; 61 virtual void OnError() OVERRIDE;
62 virtual void OnMessage(const std::string& msg) OVERRIDE; 62 virtual void OnMessage(const std::string& msg) OVERRIDE;
63 virtual void OnSignalingMessage(const std::string& msg) OVERRIDE; 63 virtual void OnSignalingMessage(const std::string& msg) OVERRIDE;
64 virtual void OnStateChange(StateType state_changed) OVERRIDE; 64 virtual void OnStateChange(StateType state_changed) OVERRIDE;
65 virtual void OnAddStream(webrtc::MediaStreamInterface* stream) OVERRIDE; 65 virtual void OnAddStream(webrtc::MediaStreamInterface* stream) OVERRIDE;
66 virtual void OnRemoveStream(webrtc::MediaStreamInterface* stream) OVERRIDE; 66 virtual void OnRemoveStream(webrtc::MediaStreamInterface* stream) OVERRIDE;
67 virtual void OnIceCandidate(
68 const webrtc::IceCandidateInterface* candidate) OVERRIDE;
69 virtual void OnIceComplete() OVERRIDE;
67 70
68 private: 71 private:
69 FRIEND_TEST_ALL_PREFIXES(PeerConnectionHandlerTest, Basic); 72 FRIEND_TEST_ALL_PREFIXES(PeerConnectionHandlerTest, Basic);
70 73
71 void AddStreams( 74 void AddStreams(
72 const WebKit::WebVector<WebKit::WebMediaStreamDescriptor>& streams); 75 const WebKit::WebVector<WebKit::WebMediaStreamDescriptor>& streams);
73 void RemoveStreams( 76 void RemoveStreams(
74 const WebKit::WebVector<WebKit::WebMediaStreamDescriptor>& streams); 77 const WebKit::WebVector<WebKit::WebMediaStreamDescriptor>& streams);
75 void OnAddStreamCallback(webrtc::MediaStreamInterface* stream); 78 void OnAddStreamCallback(webrtc::MediaStreamInterface* stream);
76 void OnRemoveStreamCallback(webrtc::MediaStreamInterface* stream); 79 void OnRemoveStreamCallback(webrtc::MediaStreamInterface* stream);
(...skipping 19 matching lines...) Expand all
96 typedef std::map<webrtc::MediaStreamInterface*, 99 typedef std::map<webrtc::MediaStreamInterface*,
97 WebKit::WebMediaStreamDescriptor> RemoteStreamMap; 100 WebKit::WebMediaStreamDescriptor> RemoteStreamMap;
98 RemoteStreamMap remote_streams_; 101 RemoteStreamMap remote_streams_;
99 102
100 scoped_refptr<base::MessageLoopProxy> message_loop_proxy_; 103 scoped_refptr<base::MessageLoopProxy> message_loop_proxy_;
101 104
102 DISALLOW_COPY_AND_ASSIGN(PeerConnectionHandler); 105 DISALLOW_COPY_AND_ASSIGN(PeerConnectionHandler);
103 }; 106 };
104 107
105 #endif // CONTENT_RENDERER_MEDIA_PEER_CONNECTION_HANDLER_H_ 108 #endif // CONTENT_RENDERER_MEDIA_PEER_CONNECTION_HANDLER_H_
OLDNEW
« no previous file with comments | « DEPS ('k') | content/renderer/media/peer_connection_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698