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

Side by Side Diff: chromecast/media/cma/test/mock_frame_provider.h

Issue 609383004: Chromecast: adds test frame-segmenter code to support CMA unit tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cma-decrypt-context
Patch Set: base/callback include Created 6 years, 2 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CHROMECAST_MEDIA_CMA_BASE_MOCK_FRAME_PROVIDER_H_ 5 #ifndef CHROMECAST_MEDIA_CMA_TEST_MOCK_FRAME_PROVIDER_H_
6 #define CHROMECAST_MEDIA_CMA_BASE_MOCK_FRAME_PROVIDER_H_ 6 #define CHROMECAST_MEDIA_CMA_TEST_MOCK_FRAME_PROVIDER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "chromecast/media/cma/base/coded_frame_provider.h" 11 #include "chromecast/media/cma/base/coded_frame_provider.h"
12 12
13 namespace chromecast { 13 namespace chromecast {
14 namespace media { 14 namespace media {
15 class FrameGeneratorForTest; 15 class FrameGeneratorForTest;
16 16
(...skipping 22 matching lines...) Expand all
39 size_t pattern_idx_; 39 size_t pattern_idx_;
40 40
41 scoped_ptr<FrameGeneratorForTest> frame_generator_; 41 scoped_ptr<FrameGeneratorForTest> frame_generator_;
42 42
43 DISALLOW_COPY_AND_ASSIGN(MockFrameProvider); 43 DISALLOW_COPY_AND_ASSIGN(MockFrameProvider);
44 }; 44 };
45 45
46 } // namespace media 46 } // namespace media
47 } // namespace chromecast 47 } // namespace chromecast
48 48
49 #endif // CHROMECAST_MEDIA_CMA_BASE_MOCK_FRAME_PROVIDER_H_ 49 #endif // CHROMECAST_MEDIA_CMA_TEST_MOCK_FRAME_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698