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

Side by Side Diff: remoting/protocol/audio_reader.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
« no previous file with comments | « remoting/host/win/wts_session_process_delegate.cc ('k') | remoting/protocol/audio_writer.h » ('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 REMOTING_PROTOCOL_AUDIO_READER_H_ 5 #ifndef REMOTING_PROTOCOL_AUDIO_READER_H_
6 #define REMOTING_PROTOCOL_AUDIO_READER_H_ 6 #define REMOTING_PROTOCOL_AUDIO_READER_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "remoting/proto/audio.pb.h" 10 #include "remoting/proto/audio.pb.h"
(...skipping 13 matching lines...) Expand all
24 24
25 class AudioReader : public ChannelDispatcherBase { 25 class AudioReader : public ChannelDispatcherBase {
26 public: 26 public:
27 static scoped_ptr<AudioReader> Create(const SessionConfig& config); 27 static scoped_ptr<AudioReader> Create(const SessionConfig& config);
28 28
29 virtual ~AudioReader(); 29 virtual ~AudioReader();
30 30
31 void set_audio_stub(AudioStub* audio_stub) { audio_stub_ = audio_stub; } 31 void set_audio_stub(AudioStub* audio_stub) { audio_stub_ = audio_stub; }
32 32
33 protected: 33 protected:
34 virtual void OnInitialized() OVERRIDE; 34 virtual void OnInitialized() override;
35 35
36 private: 36 private:
37 explicit AudioReader(AudioPacket::Encoding encoding); 37 explicit AudioReader(AudioPacket::Encoding encoding);
38 38
39 void OnNewData(scoped_ptr<AudioPacket> packet, 39 void OnNewData(scoped_ptr<AudioPacket> packet,
40 const base::Closure& done_task); 40 const base::Closure& done_task);
41 41
42 AudioPacket::Encoding encoding_; 42 AudioPacket::Encoding encoding_;
43 43
44 ProtobufMessageReader<AudioPacket> reader_; 44 ProtobufMessageReader<AudioPacket> reader_;
45 45
46 // The stub that processes all received packets. 46 // The stub that processes all received packets.
47 AudioStub* audio_stub_; 47 AudioStub* audio_stub_;
48 48
49 DISALLOW_COPY_AND_ASSIGN(AudioReader); 49 DISALLOW_COPY_AND_ASSIGN(AudioReader);
50 }; 50 };
51 51
52 } // namespace protocol 52 } // namespace protocol
53 } // namespace remoting 53 } // namespace remoting
54 54
55 #endif // REMOTING_PROTOCOL_AUDIO_READER_H_ 55 #endif // REMOTING_PROTOCOL_AUDIO_READER_H_
OLDNEW
« no previous file with comments | « remoting/host/win/wts_session_process_delegate.cc ('k') | remoting/protocol/audio_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698