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

Side by Side Diff: content/renderer/audio_message_filter.cc

Issue 6703003: Move a bunch of html5 renderer code to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #include "chrome/renderer/audio_message_filter.h" 5 #include "content/renderer/audio_message_filter.h"
6 6
7 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 #include "base/time.h" 8 #include "base/time.h"
9 #include "chrome/common/render_messages.h" 9 #include "chrome/common/render_messages.h"
10 #include "chrome/common/render_messages_params.h" 10 #include "chrome/common/render_messages_params.h"
11 #include "ipc/ipc_logging.h" 11 #include "ipc/ipc_logging.h"
12 12
13 AudioMessageFilter::AudioMessageFilter(int32 route_id) 13 AudioMessageFilter::AudioMessageFilter(int32 route_id)
14 : channel_(NULL), 14 : channel_(NULL),
15 route_id_(route_id), 15 route_id_(route_id),
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 delegate->OnVolume(volume); 138 delegate->OnVolume(volume);
139 } 139 }
140 140
141 int32 AudioMessageFilter::AddDelegate(Delegate* delegate) { 141 int32 AudioMessageFilter::AddDelegate(Delegate* delegate) {
142 return delegates_.Add(delegate); 142 return delegates_.Add(delegate);
143 } 143 }
144 144
145 void AudioMessageFilter::RemoveDelegate(int32 id) { 145 void AudioMessageFilter::RemoveDelegate(int32 id) {
146 delegates_.Remove(id); 146 delegates_.Remove(id);
147 } 147 }
OLDNEW
« no previous file with comments | « content/renderer/audio_message_filter.h ('k') | content/renderer/audio_message_filter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698