Chromium Code Reviews| OLD | NEW |
|---|---|
| (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_ | |
| OLD | NEW |