| Index: content/browser/renderer_host/pepper/pepper_socket_utils.h
|
| diff --git a/content/browser/renderer_host/pepper/pepper_socket_utils.h b/content/browser/renderer_host/pepper/pepper_socket_utils.h
|
| index e7bc1e3eb04102904db5ca5306c7e2f9dac14b85..00ef8c96bfef5ac8d54a19d253966b7c317c31c8 100644
|
| --- a/content/browser/renderer_host/pepper/pepper_socket_utils.h
|
| +++ b/content/browser/renderer_host/pepper/pepper_socket_utils.h
|
| @@ -22,6 +22,15 @@ namespace content {
|
|
|
| namespace pepper_socket_utils {
|
|
|
| +// Enum used for recording histograms about whether the plugin is running in a
|
| +// secure context. If this is changed, histograms.xml should be updated
|
| +// accordingly.
|
| +enum PluginContextSecurity {
|
| + PLUGIN_CONTEXT_SECURE,
|
| + PLUGIN_CONTEXT_INSECURE,
|
| + PLUGIN_CONTEXT_SECURITY_NUM_ENTRIES
|
| +};
|
| +
|
| SocketPermissionRequest CreateSocketPermissionRequest(
|
| SocketPermissionRequest::OperationType type,
|
| const PP_NetAddress_Private& net_addr);
|
|
|