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

Side by Side Diff: chromecast/media/cma/backend/media_pipeline_device_fake.h

Issue 837453003: Chromecast: virtual/override cleanup. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missed a few spots Created 5 years, 11 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_BACKEND_MEDIA_PIPELINE_DEVICE_FAKE_H_ 5 #ifndef CHROMECAST_MEDIA_CMA_BACKEND_MEDIA_PIPELINE_DEVICE_FAKE_H_
6 #define CHROMECAST_MEDIA_CMA_BACKEND_MEDIA_PIPELINE_DEVICE_FAKE_H_ 6 #define CHROMECAST_MEDIA_CMA_BACKEND_MEDIA_PIPELINE_DEVICE_FAKE_H_
7 7
8 #include "chromecast/media/cma/backend/media_pipeline_device.h" 8 #include "chromecast/media/cma/backend/media_pipeline_device.h"
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 12
13 namespace chromecast { 13 namespace chromecast {
14 namespace media { 14 namespace media {
15 class AudioPipelineDeviceFake; 15 class AudioPipelineDeviceFake;
16 class MediaClockDeviceFake; 16 class MediaClockDeviceFake;
17 class VideoPipelineDeviceFake; 17 class VideoPipelineDeviceFake;
18 18
19 class MediaPipelineDeviceFake : public MediaPipelineDevice { 19 class MediaPipelineDeviceFake : public MediaPipelineDevice {
20 public: 20 public:
21 MediaPipelineDeviceFake(); 21 MediaPipelineDeviceFake();
22 virtual ~MediaPipelineDeviceFake(); 22 ~MediaPipelineDeviceFake() override;
23 23
24 // MediaPipelineDevice implementation. 24 // MediaPipelineDevice implementation.
25 virtual AudioPipelineDevice* GetAudioPipelineDevice() const override; 25 AudioPipelineDevice* GetAudioPipelineDevice() const override;
26 virtual VideoPipelineDevice* GetVideoPipelineDevice() const override; 26 VideoPipelineDevice* GetVideoPipelineDevice() const override;
27 virtual MediaClockDevice* GetMediaClockDevice() const override; 27 MediaClockDevice* GetMediaClockDevice() const override;
28 28
29 private: 29 private:
30 scoped_ptr<MediaClockDeviceFake> media_clock_device_; 30 scoped_ptr<MediaClockDeviceFake> media_clock_device_;
31 scoped_ptr<AudioPipelineDeviceFake> audio_pipeline_device_; 31 scoped_ptr<AudioPipelineDeviceFake> audio_pipeline_device_;
32 scoped_ptr<VideoPipelineDeviceFake> video_pipeline_device_; 32 scoped_ptr<VideoPipelineDeviceFake> video_pipeline_device_;
33 33
34 DISALLOW_COPY_AND_ASSIGN(MediaPipelineDeviceFake); 34 DISALLOW_COPY_AND_ASSIGN(MediaPipelineDeviceFake);
35 }; 35 };
36 36
37 } // namespace media 37 } // namespace media
38 } // namespace chromecast 38 } // namespace chromecast
39 39
40 #endif // CHROMECAST_MEDIA_CMA_BACKEND_MEDIA_PIPELINE_DEVICE_H_ 40 #endif // CHROMECAST_MEDIA_CMA_BACKEND_MEDIA_PIPELINE_DEVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698