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

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

Issue 3119035: FBTF: Move individual XXXMsg_Params structs to a new file. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Fix comment Created 10 years, 4 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 | « chrome/gpu/gpu_view_win.cc ('k') | chrome/renderer/audio_message_filter_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) 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 "chrome/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 "ipc/ipc_logging.h" 11 #include "ipc/ipc_logging.h"
11 12
12 AudioMessageFilter::AudioMessageFilter(int32 route_id) 13 AudioMessageFilter::AudioMessageFilter(int32 route_id)
13 : channel_(NULL), 14 : channel_(NULL),
14 route_id_(route_id), 15 route_id_(route_id),
15 message_loop_(NULL) { 16 message_loop_(NULL) {
16 } 17 }
17 18
18 AudioMessageFilter::~AudioMessageFilter() { 19 AudioMessageFilter::~AudioMessageFilter() {
19 } 20 }
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 delegate->OnVolume(volume); 140 delegate->OnVolume(volume);
140 } 141 }
141 142
142 int32 AudioMessageFilter::AddDelegate(Delegate* delegate) { 143 int32 AudioMessageFilter::AddDelegate(Delegate* delegate) {
143 return delegates_.Add(delegate); 144 return delegates_.Add(delegate);
144 } 145 }
145 146
146 void AudioMessageFilter::RemoveDelegate(int32 id) { 147 void AudioMessageFilter::RemoveDelegate(int32 id) {
147 delegates_.Remove(id); 148 delegates_.Remove(id);
148 } 149 }
OLDNEW
« no previous file with comments | « chrome/gpu/gpu_view_win.cc ('k') | chrome/renderer/audio_message_filter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698