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

Unified Diff: content/common/pepper_renderer_instance_data.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/common/pepper_renderer_instance_data.h
diff --git a/content/common/pepper_renderer_instance_data.h b/content/common/pepper_renderer_instance_data.h
index 6b3baa400594fc463dfa05248c4c9cbf31e2272a..84e9f97519e25227c6ef0d3d9709e171450d68a7 100644
--- a/content/common/pepper_renderer_instance_data.h
+++ b/content/common/pepper_renderer_instance_data.h
@@ -22,12 +22,17 @@ struct PepperRendererInstanceData {
PepperRendererInstanceData(int render_process,
int render_frame_id,
const GURL& document,
- const GURL& plugin);
+ const GURL& plugin,
+ bool secure);
~PepperRendererInstanceData();
int render_process_id;
int render_frame_id;
GURL document_url;
GURL plugin_url;
+ // 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 is_potentially_secure_plugin_context;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698