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