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

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..ef59f951a40d421dfeb8892b7df298af8dc95aec 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 privileged);
~PepperRendererInstanceData();
int render_process_id;
int render_frame_id;
GURL document_url;
GURL plugin_url;
+ // Whether the plugin is running in a privileged context. That is, it is
+ // served from a secure origin and it is embedded within a heirachy of secure
+ // frames.
+ bool is_privileged_context;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698