| Index: content/test/ppapi/ppapi_test.cc
|
| diff --git a/content/test/ppapi/ppapi_test.cc b/content/test/ppapi/ppapi_test.cc
|
| index 0807b6138b8a7576587ecdbf59f28121e33c23e9..96a4ec2035609e80bb6d907dade4984bccda39ef 100644
|
| --- a/content/test/ppapi/ppapi_test.cc
|
| +++ b/content/test/ppapi/ppapi_test.cc
|
| @@ -17,6 +17,10 @@
|
| #include "ppapi/shared_impl/ppapi_switches.h"
|
| #include "ppapi/shared_impl/test_harness_utils.h"
|
|
|
| +#if defined(OS_CHROMEOS)
|
| +#include "chromeos/audio/cras_audio_handler.h"
|
| +#endif
|
| +
|
| namespace content {
|
|
|
| PPAPITestMessageHandler::PPAPITestMessageHandler() {
|
| @@ -129,4 +133,18 @@ OutOfProcessPPAPITest::OutOfProcessPPAPITest() {
|
| in_process_ = false;
|
| }
|
|
|
| +void OutOfProcessPPAPITest::SetUp() {
|
| +#if defined(OS_CHROMEOS)
|
| + chromeos::CrasAudioHandler::InitializeForTesting();
|
| +#endif
|
| + ContentBrowserTest::SetUp();
|
| +}
|
| +
|
| +void OutOfProcessPPAPITest::TearDown() {
|
| + ContentBrowserTest::TearDown();
|
| +#if defined(OS_CHROMEOS)
|
| + chromeos::CrasAudioHandler::Shutdown();
|
| +#endif
|
| +}
|
| +
|
| } // namespace content
|
|
|