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

Side by Side Diff: media/audio/audio_output_device_unittest.cc

Issue 10826296: Introduce shared_memory_support media target for PPAPI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 8 years, 4 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 | « media/audio/audio_output_device.cc ('k') | media/audio/audio_util.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 #include <vector> 5 #include <vector>
6 6
7 #include "base/at_exit.h" 7 #include "base/at_exit.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #include "base/process_util.h" 9 #include "base/process_util.h"
10 #include "base/shared_memory.h" 10 #include "base/shared_memory.h"
11 #include "base/sync_socket.h" 11 #include "base/sync_socket.h"
12 #include "base/test/test_timeouts.h" 12 #include "base/test/test_timeouts.h"
13 #include "media/audio/audio_output_device.h" 13 #include "media/audio/audio_output_device.h"
14 #include "media/audio/audio_util.h"
15 #include "media/audio/sample_rates.h" 14 #include "media/audio/sample_rates.h"
15 #include "media/audio/shared_memory_util.h"
16 #include "testing/gmock/include/gmock/gmock.h" 16 #include "testing/gmock/include/gmock/gmock.h"
17 #include "testing/gmock_mutant.h" 17 #include "testing/gmock_mutant.h"
18 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
19 19
20 using base::CancelableSyncSocket; 20 using base::CancelableSyncSocket;
21 using base::SharedMemory; 21 using base::SharedMemory;
22 using base::SyncSocket; 22 using base::SyncSocket;
23 using testing::_; 23 using testing::_;
24 using testing::DoAll; 24 using testing::DoAll;
25 using testing::Invoke; 25 using testing::Invoke;
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 io_loop_.Run(); 222 io_loop_.Run();
223 223
224 // Close the stream sequence. 224 // Close the stream sequence.
225 EXPECT_CALL(audio_output_ipc_, CloseStream(stream_id_)); 225 EXPECT_CALL(audio_output_ipc_, CloseStream(stream_id_));
226 226
227 audio_device->Stop(); 227 audio_device->Stop();
228 io_loop_.RunAllPending(); 228 io_loop_.RunAllPending();
229 } 229 }
230 230
231 } // namespace media. 231 } // namespace media.
OLDNEW
« no previous file with comments | « media/audio/audio_output_device.cc ('k') | media/audio/audio_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698