| OLD | NEW |
| 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 <map> | 5 #include <map> |
| 6 #include <vector> | 6 #include <vector> |
| 7 | 7 |
| 8 #include "base/string_util.h" | 8 #include "base/string_util.h" |
| 9 #include "base/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" |
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| (...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 EXPECT_EQ(NPERR_NO_ERROR, | 271 EXPECT_EQ(NPERR_NO_ERROR, |
| 272 pepper_plugin()->DeviceAudioInitializeContext(&config, &context)); | 272 pepper_plugin()->DeviceAudioInitializeContext(&config, &context)); |
| 273 EXPECT_TRUE(render_thread_.sink().GetFirstMessageMatching( | 273 EXPECT_TRUE(render_thread_.sink().GetFirstMessageMatching( |
| 274 ViewHostMsg_CreateAudioStream::ID)); | 274 ViewHostMsg_CreateAudioStream::ID)); |
| 275 EXPECT_EQ(NPERR_NO_ERROR, | 275 EXPECT_EQ(NPERR_NO_ERROR, |
| 276 pepper_plugin()->DeviceAudioDestroyContext(&context)); | 276 pepper_plugin()->DeviceAudioDestroyContext(&context)); |
| 277 EXPECT_TRUE(render_thread_.sink().GetFirstMessageMatching( | 277 EXPECT_TRUE(render_thread_.sink().GetFirstMessageMatching( |
| 278 ViewHostMsg_CloseAudioStream::ID)); | 278 ViewHostMsg_CloseAudioStream::ID)); |
| 279 } | 279 } |
| 280 | 280 |
| OLD | NEW |