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

Side by Side Diff: chromecast/media/cma/base/buffering_frame_provider.h

Issue 630663003: replace OVERRIDE and FINAL with override and final in chromecast/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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_BUFFERING_FRAME_PROVIDER_H_ 5 #ifndef CHROMECAST_MEDIA_CMA_BASE_BUFFERING_FRAME_PROVIDER_H_
6 #define CHROMECAST_MEDIA_CMA_BASE_BUFFERING_FRAME_PROVIDER_H_ 6 #define CHROMECAST_MEDIA_CMA_BASE_BUFFERING_FRAME_PROVIDER_H_
7 7
8 #include <list> 8 #include <list>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 25 matching lines...) Expand all
36 // might be greater than |max_buffer_size|. 36 // might be greater than |max_buffer_size|.
37 // Note: takes ownership of |coded_frame_provider|. 37 // Note: takes ownership of |coded_frame_provider|.
38 BufferingFrameProvider( 38 BufferingFrameProvider(
39 scoped_ptr<CodedFrameProvider> coded_frame_provider, 39 scoped_ptr<CodedFrameProvider> coded_frame_provider,
40 size_t max_buffer_size, 40 size_t max_buffer_size,
41 size_t max_frame_size, 41 size_t max_frame_size,
42 const FrameBufferedCB& frame_buffered_cb); 42 const FrameBufferedCB& frame_buffered_cb);
43 virtual ~BufferingFrameProvider(); 43 virtual ~BufferingFrameProvider();
44 44
45 // CodedFrameProvider implementation. 45 // CodedFrameProvider implementation.
46 virtual void Read(const ReadCB& read_cb) OVERRIDE; 46 virtual void Read(const ReadCB& read_cb) override;
47 virtual void Flush(const base::Closure& flush_cb) OVERRIDE; 47 virtual void Flush(const base::Closure& flush_cb) override;
48 48
49 private: 49 private:
50 class BufferWithConfig { 50 class BufferWithConfig {
51 public: 51 public:
52 BufferWithConfig( 52 BufferWithConfig(
53 const scoped_refptr<DecoderBufferBase>& buffer, 53 const scoped_refptr<DecoderBufferBase>& buffer,
54 const ::media::AudioDecoderConfig& audio_config, 54 const ::media::AudioDecoderConfig& audio_config,
55 const ::media::VideoDecoderConfig& video_config); 55 const ::media::VideoDecoderConfig& video_config);
56 ~BufferWithConfig(); 56 ~BufferWithConfig();
57 57
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 base::WeakPtr<BufferingFrameProvider> weak_this_; 108 base::WeakPtr<BufferingFrameProvider> weak_this_;
109 base::WeakPtrFactory<BufferingFrameProvider> weak_factory_; 109 base::WeakPtrFactory<BufferingFrameProvider> weak_factory_;
110 110
111 DISALLOW_COPY_AND_ASSIGN(BufferingFrameProvider); 111 DISALLOW_COPY_AND_ASSIGN(BufferingFrameProvider);
112 }; 112 };
113 113
114 } // namespace media 114 } // namespace media
115 } // namespace chromecast 115 } // namespace chromecast
116 116
117 #endif // CHROMECAST_MEDIA_CMA_BASE_BUFFERING_FRAME_PROVIDER_H_ 117 #endif // CHROMECAST_MEDIA_CMA_BASE_BUFFERING_FRAME_PROVIDER_H_
OLDNEW
« no previous file with comments | « chromecast/media/cma/base/balanced_media_task_runner_factory.cc ('k') | chromecast/media/cma/base/decoder_buffer_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698