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 #include "content/common/pepper_renderer_instance_data.h" | 5 #include "content/common/pepper_renderer_instance_data.h" |
6 | 6 |
7 namespace content { | 7 namespace content { |
8 | 8 |
9 PepperRendererInstanceData::PepperRendererInstanceData() | 9 PepperRendererInstanceData::PepperRendererInstanceData() |
10 : render_process_id(0), render_frame_id(0) { | 10 : render_process_id(0), render_frame_id(0), is_privileged_context(false) { |
11 } | 11 } |
12 | 12 |
13 PepperRendererInstanceData::PepperRendererInstanceData(int render_process, | 13 PepperRendererInstanceData::PepperRendererInstanceData(int render_process, |
14 int render_frame, | 14 int render_frame, |
15 const GURL& document, | 15 const GURL& document, |
16 const GURL& plugin) | 16 const GURL& plugin, |
17 bool privileged) | |
17 : render_process_id(render_process), | 18 : render_process_id(render_process), |
18 render_frame_id(render_frame), | 19 render_frame_id(render_frame), |
19 document_url(document), | 20 document_url(document), |
20 plugin_url(plugin) { | 21 plugin_url(plugin), |
22 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.
| |
21 } | 23 } |
22 | 24 |
23 PepperRendererInstanceData::~PepperRendererInstanceData() { | 25 PepperRendererInstanceData::~PepperRendererInstanceData() { |
24 } | 26 } |
25 | 27 |
26 } // namespace content | 28 } // namespace content |
OLD | NEW |