Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / content / common / pepper_renderer_instance_data.cc
blob8ec9320e891cddb953480e9694e662d53acead7c
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
3 // found in the LICENSE file.
5 #include "content/common/pepper_renderer_instance_data.h"
7 namespace content {
9 PepperRendererInstanceData::PepperRendererInstanceData()
10 : render_process_id(0),
11 render_frame_id(0),
12 is_potentially_secure_plugin_context(false) {
15 PepperRendererInstanceData::PepperRendererInstanceData(int render_process,
16 int render_frame,
17 const GURL& document,
18 const GURL& plugin,
19 bool secure)
20 : render_process_id(render_process),
21 render_frame_id(render_frame),
22 document_url(document),
23 plugin_url(plugin),
24 is_potentially_secure_plugin_context(secure) {
27 PepperRendererInstanceData::~PepperRendererInstanceData() {
30 } // namespace content