Index: media/audio/audio_input_controller.h |
=================================================================== |
--- media/audio/audio_input_controller.h (revision 95843) |
+++ media/audio/audio_input_controller.h (working copy) |
@@ -35,7 +35,7 @@ |
// |
namespace media { |
-class MEDIA_EXPORT AudioInputController |
+class AudioInputController |
: public base::RefCountedThreadSafe<AudioInputController>, |
public AudioInputStream::AudioInputCallback { |
public: |
@@ -99,8 +99,10 @@ |
// Sets the factory used by the static method Create. AudioInputController |
// does not take ownership of |factory|. A value of NULL results in an |
// AudioInputController being created directly. |
- static void set_factory_for_testing(Factory* factory) { factory_ = factory; } |
- AudioInputStream* stream_for_testing() { return stream_; } |
+#if defined(UNIT_TEST) |
+ static void set_factory(Factory* factory) { factory_ = factory; } |
+ AudioInputStream* stream() { return stream_; } |
+#endif |
// Starts recording in this audio input stream. |
virtual void Record(); |