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), | 10 : render_process_id(0), |
11 render_view_id(0) { | 11 render_frame_id(0) { |
12 } | 12 } |
13 | 13 |
14 PepperRendererInstanceData::PepperRendererInstanceData( | 14 PepperRendererInstanceData::PepperRendererInstanceData( |
15 int render_process, | 15 int render_process, |
16 int render_view, | 16 int render_frame, |
17 const GURL& document, | 17 const GURL& document, |
18 const GURL& plugin) | 18 const GURL& plugin) |
19 : render_process_id(render_process), | 19 : render_process_id(render_process), |
20 render_view_id(render_view), | 20 render_frame_id(render_frame), |
21 document_url(document), | 21 document_url(document), |
22 plugin_url(plugin) { | 22 plugin_url(plugin) { |
23 } | 23 } |
24 | 24 |
25 PepperRendererInstanceData::~PepperRendererInstanceData() { | 25 PepperRendererInstanceData::~PepperRendererInstanceData() { |
26 } | 26 } |
27 | 27 |
28 } // namespace content | 28 } // namespace content |
OLD | NEW |