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

Side by Side Diff: chrome/browser/renderer_host/audio_renderer_host_unittest.cc

Issue 3119035: FBTF: Move individual XXXMsg_Params structs to a new file. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Fix comment Created 10 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "base/environment.h" 5 #include "base/environment.h"
6 #include "base/message_loop.h" 6 #include "base/message_loop.h"
7 #include "base/process_util.h" 7 #include "base/process_util.h"
8 #include "base/scoped_ptr.h" 8 #include "base/scoped_ptr.h"
9 #include "base/sync_socket.h" 9 #include "base/sync_socket.h"
10 #include "chrome/browser/chrome_thread.h" 10 #include "chrome/browser/chrome_thread.h"
11 #include "chrome/browser/renderer_host/audio_renderer_host.h" 11 #include "chrome/browser/renderer_host/audio_renderer_host.h"
12 #include "chrome/common/render_messages.h" 12 #include "chrome/common/render_messages.h"
13 #include "chrome/common/render_messages_params.h"
13 #include "ipc/ipc_message_utils.h" 14 #include "ipc/ipc_message_utils.h"
14 #include "media/audio/fake_audio_output_stream.h" 15 #include "media/audio/fake_audio_output_stream.h"
15 #include "testing/gmock/include/gmock/gmock.h" 16 #include "testing/gmock/include/gmock/gmock.h"
16 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
17 18
18 using ::testing::_; 19 using ::testing::_;
19 using ::testing::DoAll; 20 using ::testing::DoAll;
20 using ::testing::InSequence; 21 using ::testing::InSequence;
21 using ::testing::InvokeWithoutArgs; 22 using ::testing::InvokeWithoutArgs;
22 using ::testing::Return; 23 using ::testing::Return;
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 462
462 // Simulate the case where a stream is not properly closed. 463 // Simulate the case where a stream is not properly closed.
463 TEST_F(AudioRendererHostTest, CreateLowLatencyAndShutdown) { 464 TEST_F(AudioRendererHostTest, CreateLowLatencyAndShutdown) {
464 if (!IsRunningHeadless()) 465 if (!IsRunningHeadless())
465 EnableRealDevice(); 466 EnableRealDevice();
466 467
467 CreateLowLatency(); 468 CreateLowLatency();
468 } 469 }
469 470
470 // TODO(hclam): Add tests for data conversation in low latency mode. 471 // TODO(hclam): Add tests for data conversation in low latency mode.
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/audio_renderer_host.cc ('k') | chrome/browser/renderer_host/browser_render_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698