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

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

Issue 11275088: Remove implicit scoped_refptr operator T* Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
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_MEDIA_STREAM_DEPENDENCY_FACTORY_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_DEPENDENCY_FACTORY_H_
6 #define CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_DEPENDENCY_FACTORY_H_ 6 #define CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_DEPENDENCY_FACTORY_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 const std::string& sdp) OVERRIDE; 123 const std::string& sdp) OVERRIDE;
124 virtual webrtc::IceCandidateInterface* CreateIceCandidate( 124 virtual webrtc::IceCandidateInterface* CreateIceCandidate(
125 const std::string& sdp_mid, 125 const std::string& sdp_mid,
126 int sdp_mline_index, 126 int sdp_mline_index,
127 const std::string& sdp) OVERRIDE; 127 const std::string& sdp) OVERRIDE;
128 128
129 virtual bool EnsurePeerConnectionFactory() OVERRIDE; 129 virtual bool EnsurePeerConnectionFactory() OVERRIDE;
130 virtual bool PeerConnectionFactoryCreated() OVERRIDE; 130 virtual bool PeerConnectionFactoryCreated() OVERRIDE;
131 virtual void SetAudioDeviceSessionId(int session_id) OVERRIDE; 131 virtual void SetAudioDeviceSessionId(int session_id) OVERRIDE;
132 132
133 MockVideoSource* last_video_source() { return last_video_source_; } 133 MockVideoSource* last_video_source() { return last_video_source_.get(); }
134 134
135 private: 135 private:
136 bool mock_pc_factory_created_; 136 bool mock_pc_factory_created_;
137 scoped_refptr <MockVideoSource> last_video_source_; 137 scoped_refptr <MockVideoSource> last_video_source_;
138 138
139 DISALLOW_COPY_AND_ASSIGN(MockMediaStreamDependencyFactory); 139 DISALLOW_COPY_AND_ASSIGN(MockMediaStreamDependencyFactory);
140 }; 140 };
141 141
142 } // namespace content 142 } // namespace content
143 143
144 #endif // CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_DEPENDENCY_FACTORY_H_ 144 #endif // CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_DEPENDENCY_FACTORY_H_
OLDNEW
« no previous file with comments | « content/renderer/gpu/compositor_thread.cc ('k') | content/renderer/media/peer_connection_handler_jsep_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698