OLD | NEW |
---|---|
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 CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_SOCKET_UTILS_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_SOCKET_UTILS_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_SOCKET_UTILS_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_SOCKET_UTILS_H_ |
7 | 7 |
8 #include "content/public/common/socket_permission_request.h" | 8 #include "content/public/common/socket_permission_request.h" |
9 #include "ppapi/c/pp_stdint.h" | 9 #include "ppapi/c/pp_stdint.h" |
10 | 10 |
11 struct PP_NetAddress_Private; | 11 struct PP_NetAddress_Private; |
12 | 12 |
13 class GURL; | |
14 | |
13 namespace net { | 15 namespace net { |
14 class X509Certificate; | 16 class X509Certificate; |
15 } | 17 } |
16 | 18 |
17 namespace ppapi { | 19 namespace ppapi { |
18 class PPB_X509Certificate_Fields; | 20 class PPB_X509Certificate_Fields; |
19 } | 21 } |
20 | 22 |
21 namespace content { | 23 namespace content { |
22 | 24 |
(...skipping 16 matching lines...) Expand all Loading... | |
39 // PPB_X509Certificate_Fields. | 41 // PPB_X509Certificate_Fields. |
40 bool GetCertificateFields(const net::X509Certificate& cert, | 42 bool GetCertificateFields(const net::X509Certificate& cert, |
41 ppapi::PPB_X509Certificate_Fields* fields); | 43 ppapi::PPB_X509Certificate_Fields* fields); |
42 | 44 |
43 // Extracts the certificate field data from the DER representation of a | 45 // Extracts the certificate field data from the DER representation of a |
44 // certificate into PPB_X509Certificate_Fields. | 46 // certificate into PPB_X509Certificate_Fields. |
45 bool GetCertificateFields(const char* der, | 47 bool GetCertificateFields(const char* der, |
46 uint32_t length, | 48 uint32_t length, |
47 ppapi::PPB_X509Certificate_Fields* fields); | 49 ppapi::PPB_X509Certificate_Fields* fields); |
48 | 50 |
51 // Record socket connection metrics for flash. | |
52 void RecordFlashConnectMetric(const std::string& plugin_module_name, | |
raymes
2015/05/11 06:44:21
I was told that we're only interested in Flash? Do
jww
2015/05/11 06:51:14
From our perspective, I believe we're pretty much
Ryan Sleevi
2015/05/11 07:07:43
I don't think that's true, Joel.
That is, it appl
jww
2015/05/11 22:58:03
From Tim and my perspective, we really do care spe
jww
2015/05/11 23:25:12
On second thought, this is definitely more general
| |
53 const GURL& plugin_url); | |
54 | |
49 } // namespace pepper_socket_utils | 55 } // namespace pepper_socket_utils |
50 | 56 |
51 } // namespace content | 57 } // namespace content |
52 | 58 |
53 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_SOCKET_UTILS_H_ | 59 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_SOCKET_UTILS_H_ |
OLD | NEW |