Index: media/audio/win/wavein_input_win.h |
diff --git a/media/audio/win/wavein_input_win.h b/media/audio/win/wavein_input_win.h |
index 66465a8d4604e2a4c1326280cebca03616775fec..a9b4b913dfb9cec2cf243ff6b867dd6341140908 100644 |
--- a/media/audio/win/wavein_input_win.h |
+++ b/media/audio/win/wavein_input_win.h |
@@ -47,6 +47,9 @@ class PCMWaveInAudioInputStream : public AudioInputStream { |
kStateClosed // Device has been released. |
}; |
+ // Allow unit tests to query the device ID. |
+ friend class AudioInputDeviceTest; |
+ |
// Windows calls us back with the recorded audio data here. See msdn |
// documentation for 'waveInProc' for details about the parameters. |
static void CALLBACK WaveCallback(HWAVEIN hwi, UINT msg, DWORD_PTR instance, |