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

Side by Side Diff: content/renderer/pepper/pepper_platform_audio_output.h

Issue 633303002: Replace FINAL and OVERRIDE with their C++11 counterparts in content/renderer (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 (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 CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_AUDIO_OUTPUT_IMPL_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_AUDIO_OUTPUT_IMPL_H_
6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_AUDIO_OUTPUT_IMPL_H_ 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_AUDIO_OUTPUT_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 // Stops the playback. Returns false on error or if called before the stream 42 // Stops the playback. Returns false on error or if called before the stream
43 // is created or after the stream is closed. 43 // is created or after the stream is closed.
44 bool StopPlayback(); 44 bool StopPlayback();
45 45
46 // Closes the stream. Make sure to call this before the object is 46 // Closes the stream. Make sure to call this before the object is
47 // destructed. 47 // destructed.
48 void ShutDown(); 48 void ShutDown();
49 49
50 // media::AudioOutputIPCDelegate implementation. 50 // media::AudioOutputIPCDelegate implementation.
51 virtual void OnStateChanged(media::AudioOutputIPCDelegate::State state) 51 virtual void OnStateChanged(media::AudioOutputIPCDelegate::State state)
52 OVERRIDE; 52 override;
53 virtual void OnStreamCreated(base::SharedMemoryHandle handle, 53 virtual void OnStreamCreated(base::SharedMemoryHandle handle,
54 base::SyncSocket::Handle socket_handle, 54 base::SyncSocket::Handle socket_handle,
55 int length) OVERRIDE; 55 int length) override;
56 virtual void OnIPCClosed() OVERRIDE; 56 virtual void OnIPCClosed() override;
57 57
58 protected: 58 protected:
59 virtual ~PepperPlatformAudioOutput(); 59 virtual ~PepperPlatformAudioOutput();
60 60
61 private: 61 private:
62 friend class base::RefCountedThreadSafe<PepperPlatformAudioOutput>; 62 friend class base::RefCountedThreadSafe<PepperPlatformAudioOutput>;
63 63
64 PepperPlatformAudioOutput(); 64 PepperPlatformAudioOutput();
65 65
66 bool Initialize(int sample_rate, 66 bool Initialize(int sample_rate,
(...skipping 18 matching lines...) Expand all
85 85
86 scoped_refptr<base::MessageLoopProxy> main_message_loop_proxy_; 86 scoped_refptr<base::MessageLoopProxy> main_message_loop_proxy_;
87 scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_; 87 scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_;
88 88
89 DISALLOW_COPY_AND_ASSIGN(PepperPlatformAudioOutput); 89 DISALLOW_COPY_AND_ASSIGN(PepperPlatformAudioOutput);
90 }; 90 };
91 91
92 } // namespace content 92 } // namespace content
93 93
94 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_AUDIO_OUTPUT_IMPL_H_ 94 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_AUDIO_OUTPUT_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_platform_audio_input.h ('k') | content/renderer/pepper/pepper_plugin_instance_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698