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

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

Issue 20987009: Rename PepperPluginDelegateImpl to PepperHelperImpl after getting rid of the PluginDelegate interfa… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 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 | Annotate | Revision Log
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 #include "content/renderer/pepper/pepper_platform_audio_output.h" 5 #include "content/renderer/pepper/pepper_platform_audio_output.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/message_loop/message_loop_proxy.h" 9 #include "base/message_loop/message_loop_proxy.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 DCHECK(io_message_loop_proxy_->BelongsToCurrentThread()); 159 DCHECK(io_message_loop_proxy_->BelongsToCurrentThread());
160 160
161 // Make sure we don't call shutdown more than once. 161 // Make sure we don't call shutdown more than once.
162 if (!ipc_) 162 if (!ipc_)
163 return; 163 return;
164 164
165 ipc_->CloseStream(); 165 ipc_->CloseStream();
166 ipc_.reset(); 166 ipc_.reset();
167 167
168 Release(); // Release for the delegate, balances out the reference taken in 168 Release(); // Release for the delegate, balances out the reference taken in
169 // PepperPluginDelegateImpl::CreateAudio. 169 // PepperHelperImpl::CreateAudio.
170 } 170 }
171 171
172 } // namespace content 172 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_helper_impl.cc ('k') | content/renderer/pepper/pepper_platform_video_capture.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698