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

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

Issue 10909154: Remove PPAPI dependency on 'net'. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 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
« no previous file with comments | « content/renderer/pepper/pepper_plugin_delegate_impl.h ('k') | ppapi/ppapi_internal.gyp » ('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) 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_plugin_delegate_impl.h" 5 #include "content/renderer/pepper/pepper_plugin_delegate_impl.h"
6 6
7 #include <cmath> 7 #include <cmath>
8 #include <cstddef> 8 #include <cstddef>
9 #include <map> 9 #include <map>
10 #include <queue> 10 #include <queue>
(...skipping 1712 matching lines...) Expand 10 before | Expand all | Expand 10 after
1723 render_view_->Send( 1723 render_view_->Send(
1724 new PpapiHostMsg_PPBTCPSocket_Disconnect(accepted_socket_id)); 1724 new PpapiHostMsg_PPBTCPSocket_Disconnect(accepted_socket_id));
1725 } 1725 }
1726 } 1726 }
1727 1727
1728 void PepperPluginDelegateImpl::OnHostResolverResolveACK( 1728 void PepperPluginDelegateImpl::OnHostResolverResolveACK(
1729 uint32 plugin_dispatcher_id, 1729 uint32 plugin_dispatcher_id,
1730 uint32 host_resolver_id, 1730 uint32 host_resolver_id,
1731 bool succeeded, 1731 bool succeeded,
1732 const std::string& canonical_name, 1732 const std::string& canonical_name,
1733 const ppapi::NetAddressList& net_address_list) { 1733 const std::vector<PP_NetAddress_Private>& net_address_list) {
1734 ppapi::PPB_HostResolver_Shared* host_resolver = 1734 ppapi::PPB_HostResolver_Shared* host_resolver =
1735 host_resolvers_.Lookup(host_resolver_id); 1735 host_resolvers_.Lookup(host_resolver_id);
1736 if (host_resolver) { 1736 if (host_resolver) {
1737 host_resolver->OnResolveCompleted(succeeded, 1737 host_resolver->OnResolveCompleted(succeeded,
1738 canonical_name, 1738 canonical_name,
1739 net_address_list); 1739 net_address_list);
1740 } 1740 }
1741 } 1741 }
1742 1742
1743 int PepperPluginDelegateImpl::GetRoutingID() const { 1743 int PepperPluginDelegateImpl::GetRoutingID() const {
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
1834 else 1834 else
1835 return render_view_->mouse_lock_dispatcher(); 1835 return render_view_->mouse_lock_dispatcher();
1836 } 1836 }
1837 1837
1838 webkit_glue::ClipboardClient* 1838 webkit_glue::ClipboardClient*
1839 PepperPluginDelegateImpl::CreateClipboardClient() const { 1839 PepperPluginDelegateImpl::CreateClipboardClient() const {
1840 return new RendererClipboardClient; 1840 return new RendererClipboardClient;
1841 } 1841 }
1842 1842
1843 } // namespace content 1843 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_plugin_delegate_impl.h ('k') | ppapi/ppapi_internal.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698