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

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: Fixed MockPluginDelegate. Created 8 years 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 #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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 virtual void UDPSocketSendTo(uint32 socket_id, 137 virtual void UDPSocketSendTo(uint32 socket_id,
138 const std::string& buffer, 138 const std::string& buffer,
139 const PP_NetAddress_Private& addr); 139 const PP_NetAddress_Private& addr);
140 virtual void UDPSocketClose(uint32 socket_id); 140 virtual void UDPSocketClose(uint32 socket_id);
141 virtual void TCPServerSocketListen(PP_Resource socket_resource, 141 virtual void TCPServerSocketListen(PP_Resource socket_resource,
142 const PP_NetAddress_Private& addr, 142 const PP_NetAddress_Private& addr,
143 int32_t backlog); 143 int32_t backlog);
144 virtual void TCPServerSocketAccept(uint32 server_socket_id); 144 virtual void TCPServerSocketAccept(uint32 server_socket_id);
145 virtual void TCPServerSocketStopListening(PP_Resource socket_resource, 145 virtual void TCPServerSocketStopListening(PP_Resource socket_resource,
146 uint32 socket_id); 146 uint32 socket_id);
147 virtual void RegisterHostResolver(
148 ::ppapi::PPB_HostResolver_Shared* host_resolver,
149 uint32 host_resolver_id);
150 virtual void HostResolverResolve(
151 uint32 host_resolver_id,
152 const ::ppapi::HostPortPair& host_port,
153 const PP_HostResolver_Private_Hint* hint);
154 virtual void UnregisterHostResolver(uint32 host_resolver_id);
155 // Add/remove a network list observer. 147 // Add/remove a network list observer.
156 virtual bool AddNetworkListObserver( 148 virtual bool AddNetworkListObserver(
157 webkit_glue::NetworkListObserver* observer) OVERRIDE; 149 webkit_glue::NetworkListObserver* observer) OVERRIDE;
158 virtual void RemoveNetworkListObserver( 150 virtual void RemoveNetworkListObserver(
159 webkit_glue::NetworkListObserver* observer) OVERRIDE; 151 webkit_glue::NetworkListObserver* observer) OVERRIDE;
160 virtual bool X509CertificateParseDER( 152 virtual bool X509CertificateParseDER(
161 const std::vector<char>& der, 153 const std::vector<char>& der,
162 ::ppapi::PPB_X509Certificate_Fields* fields); 154 ::ppapi::PPB_X509Certificate_Fields* fields);
163 virtual FullscreenContainer* CreateFullscreenContainer( 155 virtual FullscreenContainer* CreateFullscreenContainer(
164 PluginInstance* instance); 156 PluginInstance* instance);
(...skipping 21 matching lines...) Expand all
186 virtual void StopEnumerateDevices(int request_id); 178 virtual void StopEnumerateDevices(int request_id);
187 virtual PP_FlashLSORestrictions GetLocalDataRestrictions( 179 virtual PP_FlashLSORestrictions GetLocalDataRestrictions(
188 const GURL& document_url, 180 const GURL& document_url,
189 const GURL& plugin_url); 181 const GURL& plugin_url);
190 }; 182 };
191 183
192 } // namespace ppapi 184 } // namespace ppapi
193 } // namespace webkit 185 } // namespace webkit
194 186
195 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 187 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698