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

Side by Side Diff: webkit/plugins/ppapi/mock_plugin_delegate.h

Issue 11411357: PPB_HostResolver_Private is switched to the new Pepper proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync. Created 7 years, 10 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 | « webkit/glue/webkit_glue.gypi ('k') | webkit/plugins/ppapi/mock_plugin_delegate.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) 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 #ifndef WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
6 #define WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 6 #define WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
7 7
8 #include "webkit/plugins/ppapi/plugin_delegate.h" 8 #include "webkit/plugins/ppapi/plugin_delegate.h"
9 9
10 struct PP_NetAddress_Private; 10 struct PP_NetAddress_Private;
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 virtual void TCPSocketWrite(uint32 socket_id, const std::string& buffer); 125 virtual void TCPSocketWrite(uint32 socket_id, const std::string& buffer);
126 virtual void TCPSocketDisconnect(uint32 socket_id); 126 virtual void TCPSocketDisconnect(uint32 socket_id);
127 virtual void RegisterTCPSocket(PPB_TCPSocket_Private_Impl* socket, 127 virtual void RegisterTCPSocket(PPB_TCPSocket_Private_Impl* socket,
128 uint32 socket_id); 128 uint32 socket_id);
129 virtual void TCPServerSocketListen(PP_Resource socket_resource, 129 virtual void TCPServerSocketListen(PP_Resource socket_resource,
130 const PP_NetAddress_Private& addr, 130 const PP_NetAddress_Private& addr,
131 int32_t backlog); 131 int32_t backlog);
132 virtual void TCPServerSocketAccept(uint32 server_socket_id); 132 virtual void TCPServerSocketAccept(uint32 server_socket_id);
133 virtual void TCPServerSocketStopListening(PP_Resource socket_resource, 133 virtual void TCPServerSocketStopListening(PP_Resource socket_resource,
134 uint32 socket_id); 134 uint32 socket_id);
135 virtual void RegisterHostResolver(
136 ::ppapi::PPB_HostResolver_Shared* host_resolver,
137 uint32 host_resolver_id);
138 virtual void HostResolverResolve(
139 uint32 host_resolver_id,
140 const ::ppapi::HostPortPair& host_port,
141 const PP_HostResolver_Private_Hint* hint);
142 virtual void UnregisterHostResolver(uint32 host_resolver_id);
143 // Add/remove a network list observer. 135 // Add/remove a network list observer.
144 virtual bool AddNetworkListObserver( 136 virtual bool AddNetworkListObserver(
145 webkit_glue::NetworkListObserver* observer) OVERRIDE; 137 webkit_glue::NetworkListObserver* observer) OVERRIDE;
146 virtual void RemoveNetworkListObserver( 138 virtual void RemoveNetworkListObserver(
147 webkit_glue::NetworkListObserver* observer) OVERRIDE; 139 webkit_glue::NetworkListObserver* observer) OVERRIDE;
148 virtual bool X509CertificateParseDER( 140 virtual bool X509CertificateParseDER(
149 const std::vector<char>& der, 141 const std::vector<char>& der,
150 ::ppapi::PPB_X509Certificate_Fields* fields); 142 ::ppapi::PPB_X509Certificate_Fields* fields);
151 virtual FullscreenContainer* CreateFullscreenContainer( 143 virtual FullscreenContainer* CreateFullscreenContainer(
152 PluginInstance* instance); 144 PluginInstance* instance);
(...skipping 18 matching lines...) Expand all
171 virtual bool IsPageVisible() const; 163 virtual bool IsPageVisible() const;
172 virtual int EnumerateDevices(PP_DeviceType_Dev type, 164 virtual int EnumerateDevices(PP_DeviceType_Dev type,
173 const EnumerateDevicesCallback& callback); 165 const EnumerateDevicesCallback& callback);
174 virtual void StopEnumerateDevices(int request_id); 166 virtual void StopEnumerateDevices(int request_id);
175 }; 167 };
176 168
177 } // namespace ppapi 169 } // namespace ppapi
178 } // namespace webkit 170 } // namespace webkit
179 171
180 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 172 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « webkit/glue/webkit_glue.gypi ('k') | webkit/plugins/ppapi/mock_plugin_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698