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

Unified Diff: content/common/pepper_renderer_instance_data.cc

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.cc
diff --git a/content/common/pepper_renderer_instance_data.cc b/content/common/pepper_renderer_instance_data.cc
index 6b0446be2c7d018fef5ed7a101076b4cbe8eeb07..1f1f1031f7ce11ecd7ee0c993c8ffe38f417ae3b 100644
--- a/content/common/pepper_renderer_instance_data.cc
+++ b/content/common/pepper_renderer_instance_data.cc
@@ -7,17 +7,19 @@
namespace content {
PepperRendererInstanceData::PepperRendererInstanceData()
- : render_process_id(0), render_frame_id(0) {
+ : render_process_id(0), render_frame_id(0), is_privileged_context(false) {
}
PepperRendererInstanceData::PepperRendererInstanceData(int render_process,
int render_frame,
const GURL& document,
- const GURL& plugin)
+ const GURL& plugin,
+ bool privileged)
: render_process_id(render_process),
render_frame_id(render_frame),
document_url(document),
- plugin_url(plugin) {
+ plugin_url(plugin),
+ is_privileged_context(privileged) {
jww 2015/05/12 02:47:48 Given the name of this variable, there should prob
raymes 2015/05/12 04:56:44 Good point. I added a comment.
}
PepperRendererInstanceData::~PepperRendererInstanceData() {

Powered by Google App Engine
This is Rietveld 408576698