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

Side by Side Diff: remoting/client/plugin/pepper_audio_player.h

Issue 628753002: replace OVERRIDE and FINAL with override and final in remoting/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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 (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 REMOTING_CLIENT_PLUGIN_PEPPER_AUDIO_PLAYER_H_ 5 #ifndef REMOTING_CLIENT_PLUGIN_PEPPER_AUDIO_PLAYER_H_
6 #define REMOTING_CLIENT_PLUGIN_PEPPER_AUDIO_PLAYER_H_ 6 #define REMOTING_CLIENT_PLUGIN_PEPPER_AUDIO_PLAYER_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "ppapi/cpp/audio.h" 9 #include "ppapi/cpp/audio.h"
10 #include "ppapi/cpp/instance.h" 10 #include "ppapi/cpp/instance.h"
11 #include "remoting/client/audio_player.h" 11 #include "remoting/client/audio_player.h"
12 #include "remoting/proto/audio.pb.h" 12 #include "remoting/proto/audio.pb.h"
13 13
14 namespace remoting { 14 namespace remoting {
15 15
16 class PepperAudioPlayer : public AudioPlayer { 16 class PepperAudioPlayer : public AudioPlayer {
17 public: 17 public:
18 explicit PepperAudioPlayer(pp::Instance* instance); 18 explicit PepperAudioPlayer(pp::Instance* instance);
19 virtual ~PepperAudioPlayer(); 19 virtual ~PepperAudioPlayer();
20 20
21 virtual uint32 GetSamplesPerFrame() OVERRIDE; 21 virtual uint32 GetSamplesPerFrame() override;
22 22
23 virtual bool ResetAudioPlayer(AudioPacket::SamplingRate sampling_rate) 23 virtual bool ResetAudioPlayer(AudioPacket::SamplingRate sampling_rate)
24 OVERRIDE; 24 override;
25 25
26 private: 26 private:
27 pp::Instance* instance_; 27 pp::Instance* instance_;
28 pp::Audio audio_; 28 pp::Audio audio_;
29 29
30 // The count of sample frames per channel in an audio buffer. 30 // The count of sample frames per channel in an audio buffer.
31 uint32 samples_per_frame_; 31 uint32 samples_per_frame_;
32 32
33 DISALLOW_COPY_AND_ASSIGN(PepperAudioPlayer); 33 DISALLOW_COPY_AND_ASSIGN(PepperAudioPlayer);
34 }; 34 };
35 35
36 } // namespace remoting 36 } // namespace remoting
37 37
38 #endif // REMOTING_CLIENT_PLUGIN_PEPPER_AUDIO_PLAYER_H_ 38 #endif // REMOTING_CLIENT_PLUGIN_PEPPER_AUDIO_PLAYER_H_
OLDNEW
« no previous file with comments | « remoting/client/plugin/pepper_address_resolver.h ('k') | remoting/client/plugin/pepper_entrypoints.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698