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

Side by Side Diff: content/browser/renderer_host/pepper/pepper_renderer_connection.h

Issue 61063003: Keep NaCl plugins used in app background pages alive when active. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: working prototype Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_RENDERER_CONNECTION_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_RENDERER_CONNECTION_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_RENDERER_CONNECTION_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_RENDERER_CONNECTION_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 PP_Instance instance, 58 PP_Instance instance,
59 const PepperRendererInstanceData& instance_data); 59 const PepperRendererInstanceData& instance_data);
60 void OnMsgDidDeleteInProcessInstance(PP_Instance instance); 60 void OnMsgDidDeleteInProcessInstance(PP_Instance instance);
61 61
62 int render_process_id_; 62 int render_process_id_;
63 63
64 // We have a single BrowserPpapiHost per-renderer for all in-process plugins 64 // We have a single BrowserPpapiHost per-renderer for all in-process plugins
65 // running. This is just a work-around allowing new style resources to work 65 // running. This is just a work-around allowing new style resources to work
66 // with the browser when running in-process but it means that plugin-specific 66 // with the browser when running in-process but it means that plugin-specific
67 // information (like the plugin name) won't be available. 67 // information (like the plugin name) won't be available.
68 scoped_ptr<BrowserPpapiHostImpl> in_process_host_; 68 scoped_refptr<BrowserPpapiHostImpl> in_process_host_;
69 69
70 DISALLOW_COPY_AND_ASSIGN(PepperRendererConnection); 70 DISALLOW_COPY_AND_ASSIGN(PepperRendererConnection);
71 }; 71 };
72 72
73 } // namespace content 73 } // namespace content
74 74
75 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_RENDERER_CONNECTION_H_ 75 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_RENDERER_CONNECTION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698