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

Side by Side Diff: ppapi/proxy/resource_creation_proxy.h

Issue 23453025: Refactor PPB_NetworkMonitor_Private interface to use CompletionCallback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
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 PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ 5 #ifndef PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_
6 #define PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ 6 #define PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 PP_Bool init_to_zero) OVERRIDE; 125 PP_Bool init_to_zero) OVERRIDE;
126 virtual PP_Resource CreateNetAddressFromIPv4Address( 126 virtual PP_Resource CreateNetAddressFromIPv4Address(
127 PP_Instance instance, 127 PP_Instance instance,
128 const PP_NetAddress_IPv4* ipv4_addr) OVERRIDE; 128 const PP_NetAddress_IPv4* ipv4_addr) OVERRIDE;
129 virtual PP_Resource CreateNetAddressFromIPv6Address( 129 virtual PP_Resource CreateNetAddressFromIPv6Address(
130 PP_Instance instance, 130 PP_Instance instance,
131 const PP_NetAddress_IPv6* ipv6_addr) OVERRIDE; 131 const PP_NetAddress_IPv6* ipv6_addr) OVERRIDE;
132 virtual PP_Resource CreateNetAddressFromNetAddressPrivate( 132 virtual PP_Resource CreateNetAddressFromNetAddressPrivate(
133 PP_Instance instance, 133 PP_Instance instance,
134 const PP_NetAddress_Private& private_addr) OVERRIDE; 134 const PP_NetAddress_Private& private_addr) OVERRIDE;
135 virtual PP_Resource CreateNetworkMonitor( 135 virtual PP_Resource CreateNetworkMonitor(PP_Instance instance) OVERRIDE;
136 PP_Instance instance,
137 PPB_NetworkMonitor_Callback callback,
138 void* user_data) OVERRIDE;
139 virtual PP_Resource CreatePrinting(PP_Instance) OVERRIDE; 136 virtual PP_Resource CreatePrinting(PP_Instance) OVERRIDE;
140 virtual PP_Resource CreateTCPServerSocketPrivate( 137 virtual PP_Resource CreateTCPServerSocketPrivate(
141 PP_Instance instance) OVERRIDE; 138 PP_Instance instance) OVERRIDE;
142 virtual PP_Resource CreateTCPSocket(PP_Instance instance) OVERRIDE; 139 virtual PP_Resource CreateTCPSocket(PP_Instance instance) OVERRIDE;
143 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instance) OVERRIDE; 140 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instance) OVERRIDE;
144 virtual PP_Resource CreateUDPSocket(PP_Instance instance) OVERRIDE; 141 virtual PP_Resource CreateUDPSocket(PP_Instance instance) OVERRIDE;
145 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instance) OVERRIDE; 142 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instance) OVERRIDE;
146 virtual PP_Resource CreateVideoDestination(PP_Instance instance) OVERRIDE; 143 virtual PP_Resource CreateVideoDestination(PP_Instance instance) OVERRIDE;
147 virtual PP_Resource CreateVideoSource(PP_Instance instance) OVERRIDE; 144 virtual PP_Resource CreateVideoSource(PP_Instance instance) OVERRIDE;
148 virtual PP_Resource CreateWebSocket(PP_Instance instance) OVERRIDE; 145 virtual PP_Resource CreateWebSocket(PP_Instance instance) OVERRIDE;
(...skipping 30 matching lines...) Expand all
179 176
180 private: 177 private:
181 Connection GetConnection(); 178 Connection GetConnection();
182 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); 179 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy);
183 }; 180 };
184 181
185 } // namespace proxy 182 } // namespace proxy
186 } // namespace ppapi 183 } // namespace ppapi
187 184
188 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ 185 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698