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

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

Issue 11231077: Move a bunch more code into the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « content/public/browser/web_contents_observer.h ('k') | content/renderer/render_thread_impl.h » ('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_MOCK_PEER_CONNECTION_IMPL_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_MOCK_PEER_CONNECTION_IMPL_H_
6 #define CONTENT_RENDERER_MEDIA_MOCK_PEER_CONNECTION_IMPL_H_ 6 #define CONTENT_RENDERER_MEDIA_MOCK_PEER_CONNECTION_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 16 matching lines...) Expand all
27 virtual talk_base::scoped_refptr<webrtc::StreamCollectionInterface> 27 virtual talk_base::scoped_refptr<webrtc::StreamCollectionInterface>
28 remote_streams() OVERRIDE; 28 remote_streams() OVERRIDE;
29 virtual void AddStream(webrtc::LocalMediaStreamInterface* stream) OVERRIDE; 29 virtual void AddStream(webrtc::LocalMediaStreamInterface* stream) OVERRIDE;
30 virtual bool AddStream( 30 virtual bool AddStream(
31 webrtc::MediaStreamInterface* local_stream, 31 webrtc::MediaStreamInterface* local_stream,
32 const webrtc::MediaConstraintsInterface* constraints) OVERRIDE; 32 const webrtc::MediaConstraintsInterface* constraints) OVERRIDE;
33 virtual bool CanSendDtmf(const webrtc::AudioTrackInterface* track) OVERRIDE; 33 virtual bool CanSendDtmf(const webrtc::AudioTrackInterface* track) OVERRIDE;
34 virtual bool SendDtmf(const webrtc::AudioTrackInterface* send_track, 34 virtual bool SendDtmf(const webrtc::AudioTrackInterface* send_track,
35 const std::string& tones, int duration, 35 const std::string& tones, int duration,
36 const webrtc::AudioTrackInterface* play_track) OVERRIDE; 36 const webrtc::AudioTrackInterface* play_track) OVERRIDE;
37 virtual void RemoveStream(webrtc::MediaStreamInterface* local_stream) OVERRIDE ; 37 virtual void RemoveStream(
38 webrtc::MediaStreamInterface* local_stream) OVERRIDE;
38 virtual ReadyState ready_state() OVERRIDE; 39 virtual ReadyState ready_state() OVERRIDE;
39 virtual bool StartIce(IceOptions options) OVERRIDE; 40 virtual bool StartIce(IceOptions options) OVERRIDE;
40 41
41 virtual webrtc::SessionDescriptionInterface* CreateOffer( 42 virtual webrtc::SessionDescriptionInterface* CreateOffer(
42 const webrtc::MediaHints& hints) OVERRIDE; 43 const webrtc::MediaHints& hints) OVERRIDE;
43 virtual webrtc::SessionDescriptionInterface* CreateAnswer( 44 virtual webrtc::SessionDescriptionInterface* CreateAnswer(
44 const webrtc::MediaHints& hints, 45 const webrtc::MediaHints& hints,
45 const webrtc::SessionDescriptionInterface* offer) OVERRIDE; 46 const webrtc::SessionDescriptionInterface* offer) OVERRIDE;
46 virtual bool SetLocalDescription( 47 virtual bool SetLocalDescription(
47 Action action, 48 Action action,
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 std::string ice_sdp_; 119 std::string ice_sdp_;
119 ReadyState ready_state_; 120 ReadyState ready_state_;
120 IceState ice_state_; 121 IceState ice_state_;
121 122
122 DISALLOW_COPY_AND_ASSIGN(MockPeerConnectionImpl); 123 DISALLOW_COPY_AND_ASSIGN(MockPeerConnectionImpl);
123 }; 124 };
124 125
125 } // namespace content 126 } // namespace content
126 127
127 #endif // CONTENT_RENDERER_MEDIA_MOCK_PEER_CONNECTION_IMPL_H_ 128 #endif // CONTENT_RENDERER_MEDIA_MOCK_PEER_CONNECTION_IMPL_H_
OLDNEW
« no previous file with comments | « content/public/browser/web_contents_observer.h ('k') | content/renderer/render_thread_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698