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

Side by Side Diff: content/test/webrtc_audio_device_test.h

Issue 14335017: content: Use base::MessageLoop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 7 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
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_TEST_WEBRTC_AUDIO_DEVICE_TEST_H_ 5 #ifndef CONTENT_TEST_WEBRTC_AUDIO_DEVICE_TEST_H_
6 #define CONTENT_TEST_WEBRTC_AUDIO_DEVICE_TEST_H_ 6 #define CONTENT_TEST_WEBRTC_AUDIO_DEVICE_TEST_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 void WaitForMessageLoopCompletion(base::MessageLoopProxy* loop); 144 void WaitForMessageLoopCompletion(base::MessageLoopProxy* loop);
145 145
146 // Convenience getter for gmock. 146 // Convenience getter for gmock.
147 MockMediaInternals& media_observer() const { 147 MockMediaInternals& media_observer() const {
148 return *media_internals_.get(); 148 return *media_internals_.get();
149 } 149 }
150 150
151 std::string GetTestDataPath(const base::FilePath::StringType& file_name); 151 std::string GetTestDataPath(const base::FilePath::StringType& file_name);
152 152
153 scoped_ptr<ReplaceContentClientRenderer> saved_content_renderer_; 153 scoped_ptr<ReplaceContentClientRenderer> saved_content_renderer_;
154 MessageLoopForUI message_loop_; 154 base::MessageLoopForUI message_loop_;
155 ContentRendererClient content_renderer_client_; 155 ContentRendererClient content_renderer_client_;
156 RenderThreadImpl* render_thread_; // Owned by mock_process_. 156 RenderThreadImpl* render_thread_; // Owned by mock_process_.
157 scoped_ptr<WebRTCMockRenderProcess> mock_process_; 157 scoped_ptr<WebRTCMockRenderProcess> mock_process_;
158 scoped_ptr<MockMediaInternals> media_internals_; 158 scoped_ptr<MockMediaInternals> media_internals_;
159 scoped_ptr<MediaStreamManager> media_stream_manager_; 159 scoped_ptr<MediaStreamManager> media_stream_manager_;
160 scoped_ptr<media::AudioManager> audio_manager_; 160 scoped_ptr<media::AudioManager> audio_manager_;
161 scoped_ptr<AudioMirroringManager> mirroring_manager_; 161 scoped_ptr<AudioMirroringManager> mirroring_manager_;
162 scoped_ptr<net::URLRequestContext> test_request_context_; 162 scoped_ptr<net::URLRequestContext> test_request_context_;
163 scoped_ptr<ResourceContext> resource_context_; 163 scoped_ptr<ResourceContext> resource_context_;
164 scoped_ptr<IPC::Channel> channel_; 164 scoped_ptr<IPC::Channel> channel_;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 virtual int SendPacket(int channel, const void* data, int len) OVERRIDE; 197 virtual int SendPacket(int channel, const void* data, int len) OVERRIDE;
198 virtual int SendRTCPPacket(int channel, const void* data, int len) OVERRIDE; 198 virtual int SendRTCPPacket(int channel, const void* data, int len) OVERRIDE;
199 199
200 private: 200 private:
201 webrtc::VoENetwork* network_; 201 webrtc::VoENetwork* network_;
202 }; 202 };
203 203
204 } // namespace content 204 } // namespace content
205 205
206 #endif // CONTENT_TEST_WEBRTC_AUDIO_DEVICE_TEST_H_ 206 #endif // CONTENT_TEST_WEBRTC_AUDIO_DEVICE_TEST_H_
OLDNEW
« no previous file with comments | « content/test/net/url_request_slow_download_job.cc ('k') | content/test/webrtc_audio_device_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698