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

Side by Side Diff: remoting/host/linux/audio_pipe_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/json_host_config.h ('k') | remoting/host/linux/audio_pipe_reader_unittest.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 REMOTING_HOST_LINUX_AUDIO_PIPE_READER_H_ 5 #ifndef REMOTING_HOST_LINUX_AUDIO_PIPE_READER_H_
6 #define REMOTING_HOST_LINUX_AUDIO_PIPE_READER_H_ 6 #define REMOTING_HOST_LINUX_AUDIO_PIPE_READER_H_
7 7
8 #include "base/files/file.h" 8 #include "base/files/file.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/files/file_path_watcher.h" 10 #include "base/files/file_path_watcher.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 scoped_refptr<base::SingleThreadTaskRunner> task_runner, 45 scoped_refptr<base::SingleThreadTaskRunner> task_runner,
46 const base::FilePath& pipe_path); 46 const base::FilePath& pipe_path);
47 47
48 // Register or unregister an observer. Each observer receives data on the 48 // Register or unregister an observer. Each observer receives data on the
49 // thread on which it was registered and guaranteed not to be called after 49 // thread on which it was registered and guaranteed not to be called after
50 // RemoveObserver(). 50 // RemoveObserver().
51 void AddObserver(StreamObserver* observer); 51 void AddObserver(StreamObserver* observer);
52 void RemoveObserver(StreamObserver* observer); 52 void RemoveObserver(StreamObserver* observer);
53 53
54 // MessageLoopForIO::Watcher interface. 54 // MessageLoopForIO::Watcher interface.
55 virtual void OnFileCanReadWithoutBlocking(int fd) OVERRIDE; 55 virtual void OnFileCanReadWithoutBlocking(int fd) override;
56 virtual void OnFileCanWriteWithoutBlocking(int fd) OVERRIDE; 56 virtual void OnFileCanWriteWithoutBlocking(int fd) override;
57 57
58 private: 58 private:
59 friend class base::DeleteHelper<AudioPipeReader>; 59 friend class base::DeleteHelper<AudioPipeReader>;
60 friend class base::RefCountedThreadSafe<AudioPipeReader>; 60 friend class base::RefCountedThreadSafe<AudioPipeReader>;
61 friend struct AudioPipeReaderTraits; 61 friend struct AudioPipeReaderTraits;
62 62
63 AudioPipeReader(scoped_refptr<base::SingleThreadTaskRunner> task_runner, 63 AudioPipeReader(scoped_refptr<base::SingleThreadTaskRunner> task_runner,
64 const base::FilePath& pipe_path); 64 const base::FilePath& pipe_path);
65 virtual ~AudioPipeReader(); 65 virtual ~AudioPipeReader();
66 66
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 }; 99 };
100 100
101 // Destroys |audio_pipe_reader| on the audio thread. 101 // Destroys |audio_pipe_reader| on the audio thread.
102 struct AudioPipeReaderTraits { 102 struct AudioPipeReaderTraits {
103 static void Destruct(const AudioPipeReader* audio_pipe_reader); 103 static void Destruct(const AudioPipeReader* audio_pipe_reader);
104 }; 104 };
105 105
106 } // namespace remoting 106 } // namespace remoting
107 107
108 #endif // REMOTING_HOST_LINUX_AUDIO_PIPE_READER_H_ 108 #endif // REMOTING_HOST_LINUX_AUDIO_PIPE_READER_H_
OLDNEW
« no previous file with comments | « remoting/host/json_host_config.h ('k') | remoting/host/linux/audio_pipe_reader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698