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

Unified Diff: content/browser/renderer_host/pepper/browser_ppapi_host_impl.h

Issue 1132093003: Add metrics to record TCP/UDP connections made from Flash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/pepper/browser_ppapi_host_impl.h
diff --git a/content/browser/renderer_host/pepper/browser_ppapi_host_impl.h b/content/browser/renderer_host/pepper/browser_ppapi_host_impl.h
index 6071555c1aa90c0fb917c3300beac04e4f729f81..a29eb7ed55ddfb3c0575cff28dfbd047a72372ee 100644
--- a/content/browser/renderer_host/pepper/browser_ppapi_host_impl.h
+++ b/content/browser/renderer_host/pepper/browser_ppapi_host_impl.h
@@ -72,6 +72,11 @@ class CONTENT_EXPORT BrowserPpapiHostImpl : public BrowserPpapiHost {
void SetOnKeepaliveCallback(
const BrowserPpapiHost::OnKeepaliveCallback& callback) override;
+ // Whether the plugin context is secure. That is, it is served from a secure
+ // origin and it is embedded within a hierarchy of secure frames. This value
+ // comes from the renderer so should not be trusted. It is used for metrics.
+ bool IsPotentiallySecurePluginContext(PP_Instance instance);
+
void set_plugin_process(base::Process process) {
plugin_process_ = process.Pass();
}

Powered by Google App Engine
This is Rietveld 408576698