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

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

Issue 1852433005: Convert //base to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase after r384946 Created 4 years, 8 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_TEST_MOCK_FRAME_PROVIDER_H_ 5 #ifndef CHROMECAST_MEDIA_CMA_TEST_MOCK_FRAME_PROVIDER_H_
6 #define CHROMECAST_MEDIA_CMA_TEST_MOCK_FRAME_PROVIDER_H_ 6 #define CHROMECAST_MEDIA_CMA_TEST_MOCK_FRAME_PROVIDER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/scoped_ptr.h"
13 #include "chromecast/media/cma/base/coded_frame_provider.h" 14 #include "chromecast/media/cma/base/coded_frame_provider.h"
14 15
15 namespace chromecast { 16 namespace chromecast {
16 namespace media { 17 namespace media {
17 class FrameGeneratorForTest; 18 class FrameGeneratorForTest;
18 19
19 class MockFrameProvider : public CodedFrameProvider { 20 class MockFrameProvider : public CodedFrameProvider {
20 public: 21 public:
21 MockFrameProvider(); 22 MockFrameProvider();
22 ~MockFrameProvider() override; 23 ~MockFrameProvider() override;
(...skipping 23 matching lines...) Expand all
46 47
47 scoped_ptr<FrameGeneratorForTest> frame_generator_; 48 scoped_ptr<FrameGeneratorForTest> frame_generator_;
48 49
49 DISALLOW_COPY_AND_ASSIGN(MockFrameProvider); 50 DISALLOW_COPY_AND_ASSIGN(MockFrameProvider);
50 }; 51 };
51 52
52 } // namespace media 53 } // namespace media
53 } // namespace chromecast 54 } // namespace chromecast
54 55
55 #endif // CHROMECAST_MEDIA_CMA_TEST_MOCK_FRAME_PROVIDER_H_ 56 #endif // CHROMECAST_MEDIA_CMA_TEST_MOCK_FRAME_PROVIDER_H_
OLDNEW
« no previous file with comments | « chromecast/media/cma/test/mock_frame_consumer.h ('k') | chromeos/network/dhcp_proxy_script_fetcher_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698