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

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

Issue 3052034: base: Rename EnvVarGetter to Environment. (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: review 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/env_var.h"
6 #include "base/basictypes.h" 5 #include "base/basictypes.h"
7 #include "base/waitable_event.h" 6 #include "base/waitable_event.h"
8 #include "media/audio/audio_input_controller.h" 7 #include "media/audio/audio_input_controller.h"
9 #include "testing/gmock/include/gmock/gmock.h" 8 #include "testing/gmock/include/gmock/gmock.h"
10 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
11 10
12 using ::testing::_; 11 using ::testing::_;
13 using ::testing::AtLeast; 12 using ::testing::AtLeast;
14 using ::testing::Exactly; 13 using ::testing::Exactly;
15 using ::testing::InvokeWithoutArgs; 14 using ::testing::InvokeWithoutArgs;
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 scoped_refptr<AudioInputController> controller = AudioInputController::Create( 118 scoped_refptr<AudioInputController> controller = AudioInputController::Create(
120 &event_handler, AudioManager::AUDIO_MOCK, kChannels, 119 &event_handler, AudioManager::AUDIO_MOCK, kChannels,
121 kSampleRate, kBitsPerSample, kSamplesPerPacket); 120 kSampleRate, kBitsPerSample, kSamplesPerPacket);
122 ASSERT_TRUE(controller.get()); 121 ASSERT_TRUE(controller.get());
123 122
124 controller->Close(); 123 controller->Close();
125 controller->Close(); 124 controller->Close();
126 } 125 }
127 126
128 } // namespace media 127 } // namespace media
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698