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

Side by Side Diff: media/base/audio_bus.h

Issue 655713003: Standardize usage of virtual/override/final in media/ (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
« no previous file with comments | « media/base/audio_buffer_converter.h ('k') | media/base/audio_converter_perftest.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 MEDIA_BASE_AUDIO_BUS_H_ 5 #ifndef MEDIA_BASE_AUDIO_BUS_H_
6 #define MEDIA_BASE_AUDIO_BUS_H_ 6 #define MEDIA_BASE_AUDIO_BUS_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/aligned_memory.h" 10 #include "base/memory/aligned_memory.h"
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 class MEDIA_EXPORT AudioBusRefCounted 140 class MEDIA_EXPORT AudioBusRefCounted
141 : public media::AudioBus, 141 : public media::AudioBus,
142 public base::RefCountedThreadSafe<AudioBusRefCounted> { 142 public base::RefCountedThreadSafe<AudioBusRefCounted> {
143 public: 143 public:
144 static scoped_refptr<AudioBusRefCounted> Create(int channels, int frames); 144 static scoped_refptr<AudioBusRefCounted> Create(int channels, int frames);
145 145
146 private: 146 private:
147 friend class base::RefCountedThreadSafe<AudioBusRefCounted>; 147 friend class base::RefCountedThreadSafe<AudioBusRefCounted>;
148 148
149 AudioBusRefCounted(int channels, int frames); 149 AudioBusRefCounted(int channels, int frames);
150 virtual ~AudioBusRefCounted(); 150 ~AudioBusRefCounted() override;
151 151
152 DISALLOW_COPY_AND_ASSIGN(AudioBusRefCounted); 152 DISALLOW_COPY_AND_ASSIGN(AudioBusRefCounted);
153 }; 153 };
154 154
155 } // namespace media 155 } // namespace media
156 156
157 #endif // MEDIA_BASE_AUDIO_BUS_H_ 157 #endif // MEDIA_BASE_AUDIO_BUS_H_
OLDNEW
« no previous file with comments | « media/base/audio_buffer_converter.h ('k') | media/base/audio_converter_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698