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

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

Issue 21219002: Remove PluginDelegate completely. In a followup I'll rename PepperPluginDelegateImpl to something c… (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/ppb_tcp_server_socket_private_impl.h" 5 #include "content/renderer/pepper/ppb_tcp_server_socket_private_impl.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "content/renderer/pepper/host_globals.h" 8 #include "content/renderer/pepper/host_globals.h"
9 #include "content/renderer/pepper/pepper_plugin_delegate_impl.h" 9 #include "content/renderer/pepper/pepper_plugin_delegate_impl.h"
10 #include "content/renderer/pepper/ppb_tcp_socket_private_impl.h" 10 #include "content/renderer/pepper/ppb_tcp_socket_private_impl.h"
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 79
80 if (socket_id_ != 0) { 80 if (socket_id_ != 0) {
81 plugin_delegate->Send(new PpapiHostMsg_PPBTCPServerSocket_Destroy( 81 plugin_delegate->Send(new PpapiHostMsg_PPBTCPServerSocket_Destroy(
82 socket_id_)); 82 socket_id_));
83 plugin_delegate->TCPServerSocketStopListening(socket_id_); 83 plugin_delegate->TCPServerSocketStopListening(socket_id_);
84 } 84 }
85 } 85 }
86 86
87 PepperPluginDelegateImpl* 87 PepperPluginDelegateImpl*
88 PPB_TCPServerSocket_Private_Impl::GetPluginDelegate() { 88 PPB_TCPServerSocket_Private_Impl::GetPluginDelegate() {
89 return static_cast<PepperPluginDelegateImpl*>( 89 return ResourceHelper::GetPluginDelegate(this);
90 ResourceHelper::GetPluginDelegate(this));
91 } 90 }
92 91
93 } // namespace content 92 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/pepper/ppb_network_monitor_private_impl.h ('k') | content/renderer/pepper/ppb_tcp_socket_private_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698