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

Side by Side Diff: content/common/pepper_renderer_instance_data.cc

Issue 929483004: Plugin Power Saver: Throttled Plugins should block TCPSocket reads. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 unified diff | Download patch
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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), render_frame_id(0) {
11 render_frame_id(0) {
12 } 11 }
13 12
14 PepperRendererInstanceData::PepperRendererInstanceData( 13 PepperRendererInstanceData::PepperRendererInstanceData(int render_process,
15 int render_process, 14 int render_frame,
16 int render_frame, 15 const GURL& document,
17 const GURL& document, 16 const GURL& plugin)
18 const GURL& plugin)
19 : render_process_id(render_process), 17 : render_process_id(render_process),
20 render_frame_id(render_frame), 18 render_frame_id(render_frame),
21 document_url(document), 19 document_url(document),
22 plugin_url(plugin) { 20 plugin_url(plugin) {
23 } 21 }
24 22
25 PepperRendererInstanceData::~PepperRendererInstanceData() { 23 PepperRendererInstanceData::~PepperRendererInstanceData() {
26 } 24 }
27 25
28 } // namespace content 26 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698