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

Side by Side Diff: content/renderer/media/audio_message_filter.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_MEDIA_AUDIO_MESSAGE_FILTER_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_AUDIO_MESSAGE_FILTER_H_
6 #define CONTENT_RENDERER_MEDIA_AUDIO_MESSAGE_FILTER_H_ 6 #define CONTENT_RENDERER_MEDIA_AUDIO_MESSAGE_FILTER_H_
7 7
8 #include "base/gtest_prod_util.h" 8 #include "base/gtest_prod_util.h"
9 #include "base/id_map.h" 9 #include "base/id_map.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 FRIEND_TEST_ALL_PREFIXES(AudioMessageFilterTest, Delegates); 62 FRIEND_TEST_ALL_PREFIXES(AudioMessageFilterTest, Delegates);
63 63
64 // Implementation of media::AudioOutputIPC which augments IPC calls with 64 // Implementation of media::AudioOutputIPC which augments IPC calls with
65 // stream_id and the source render_view_id. 65 // stream_id and the source render_view_id.
66 class AudioOutputIPCImpl; 66 class AudioOutputIPCImpl;
67 67
68 // Sends an IPC message using |sender_|. 68 // Sends an IPC message using |sender_|.
69 void Send(IPC::Message* message); 69 void Send(IPC::Message* message);
70 70
71 // IPC::MessageFilter override. Called on |io_message_loop|. 71 // IPC::MessageFilter override. Called on |io_message_loop|.
72 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 72 virtual bool OnMessageReceived(const IPC::Message& message) override;
73 virtual void OnFilterAdded(IPC::Sender* sender) OVERRIDE; 73 virtual void OnFilterAdded(IPC::Sender* sender) override;
74 virtual void OnFilterRemoved() OVERRIDE; 74 virtual void OnFilterRemoved() override;
75 virtual void OnChannelClosing() OVERRIDE; 75 virtual void OnChannelClosing() override;
76 76
77 // Received when browser process has created an audio output stream. 77 // Received when browser process has created an audio output stream.
78 void OnStreamCreated(int stream_id, base::SharedMemoryHandle handle, 78 void OnStreamCreated(int stream_id, base::SharedMemoryHandle handle,
79 base::SyncSocket::TransitDescriptor socket_descriptor, 79 base::SyncSocket::TransitDescriptor socket_descriptor,
80 uint32 length); 80 uint32 length);
81 81
82 // Received when internal state of browser process' audio output device has 82 // Received when internal state of browser process' audio output device has
83 // changed. 83 // changed.
84 void OnStreamStateChanged(int stream_id, 84 void OnStreamStateChanged(int stream_id,
85 media::AudioOutputIPCDelegate::State state); 85 media::AudioOutputIPCDelegate::State state);
(...skipping 19 matching lines...) Expand all
105 105
106 // The singleton instance for this filter. 106 // The singleton instance for this filter.
107 static AudioMessageFilter* g_filter; 107 static AudioMessageFilter* g_filter;
108 108
109 DISALLOW_COPY_AND_ASSIGN(AudioMessageFilter); 109 DISALLOW_COPY_AND_ASSIGN(AudioMessageFilter);
110 }; 110 };
111 111
112 } // namespace content 112 } // namespace content
113 113
114 #endif // CONTENT_RENDERER_MEDIA_AUDIO_MESSAGE_FILTER_H_ 114 #endif // CONTENT_RENDERER_MEDIA_AUDIO_MESSAGE_FILTER_H_
OLDNEW
« no previous file with comments | « content/renderer/media/audio_input_message_filter.cc ('k') | content/renderer/media/audio_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698