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

Side by Side Diff: content/browser/renderer_host/pepper/pepper_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: Sync. 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
(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_UTILS_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_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 class PepperUtils {
dmichael (off chromium) 2012/12/12 23:23:38 This is a pretty generic class name for something
ygorshenin1 2012/12/18 12:07:16 Done.
18 public:
19 static SocketPermissionRequest CreateSocketPermissionRequest(
20 SocketPermissionRequest::OperationType type,
21 const PP_NetAddress_Private& net_addr);
22
23 static bool CanUseSocketAPIs(ProcessType plugin_process_type,
24 const SocketPermissionRequest& params,
25 RenderViewHost* render_view_host);
26 };
dmichael (off chromium) 2012/12/12 23:23:38 If you do need this class, make sure to declare (b
ygorshenin1 2012/12/18 12:07:16 Done.
27
28 } // namespace content
29
30 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698