Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(155)

Side by Side Diff: media/filters/ffmpeg_glue_unittest.cc

Issue 2969006: Revert 52336 - More header cleanup:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « media/base/video_frame_unittest.cc ('k') | media/filters/video_renderer_base.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « media/base/video_frame_unittest.cc ('k') | media/filters/video_renderer_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698