| OLD | NEW |
| 1 // Copyright (c) 2009 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 "media/base/mock_ffmpeg.h" | 5 #include "media/base/mock_ffmpeg.h" |
| 6 #include "media/base/mock_filters.h" | 6 #include "media/base/mock_filters.h" |
| 7 #include "media/filters/ffmpeg_common.h" | 7 #include "media/ffmpeg/ffmpeg_common.h" |
| 8 #include "media/filters/ffmpeg_glue.h" | 8 #include "media/filters/ffmpeg_glue.h" |
| 9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
| 10 | 10 |
| 11 using ::testing::_; | 11 using ::testing::_; |
| 12 using ::testing::DoAll; | 12 using ::testing::DoAll; |
| 13 using ::testing::InSequence; | 13 using ::testing::InSequence; |
| 14 using ::testing::Return; | 14 using ::testing::Return; |
| 15 using ::testing::SetArgumentPointee; | 15 using ::testing::SetArgumentPointee; |
| 16 using ::testing::StrictMock; | 16 using ::testing::StrictMock; |
| 17 | 17 |
| (...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 316 | 316 |
| 317 // Remove our own reference, we shouldn't be destroyed yet. | 317 // Remove our own reference, we shouldn't be destroyed yet. |
| 318 mock_ffmpeg_.CheckPoint(0); | 318 mock_ffmpeg_.CheckPoint(0); |
| 319 protocol.reset(); | 319 protocol.reset(); |
| 320 | 320 |
| 321 // ~FFmpegGlue() will be called when this unit test finishes execution. By | 321 // ~FFmpegGlue() will be called when this unit test finishes execution. By |
| 322 // leaving something inside FFmpegGlue's map we get to test our cleanup code. | 322 // leaving something inside FFmpegGlue's map we get to test our cleanup code. |
| 323 } | 323 } |
| 324 | 324 |
| 325 } // namespace media | 325 } // namespace media |
| OLD | NEW |