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

Side by Side Diff: content/browser/renderer_host/pepper/pepper_socket_utils.h

Issue 11441012: PPB_UDPSocket_Private is switched to the new Pepper proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: PPB_UDPSocket_Shared is merged to UDPSocketPrivateResource. PepperUDPSocketPrivateShared is merged … Created 7 years, 12 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_SOCKET_UTILS_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_SOCKET_UTILS_H_
7
8 #include "content/public/common/process_type.h"
9 #include "content/public/common/socket_permission_request.h"
10
11 struct PP_NetAddress_Private;
12
13 namespace content {
14
15 class RenderViewHost;
16
17 namespace pepper_socket_utils {
18
19 SocketPermissionRequest CreateSocketPermissionRequest(
20 SocketPermissionRequest::OperationType type,
21 const PP_NetAddress_Private& net_addr);
22
23 bool CanUseSocketAPIs(ProcessType plugin_process_type,
24 const SocketPermissionRequest& params,
25 RenderViewHost* render_view_host);
26
27 } // namespace pepper_socket_utils
28
29 } // namespace content
30
31 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_SOCKET_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698