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

Unified Diff: components/nacl/browser/nacl_process_host.h

Issue 338523007: Pepper: Whitelist dev channel APIs for some apps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: components/nacl/browser/nacl_process_host.h
diff --git a/components/nacl/browser/nacl_process_host.h b/components/nacl/browser/nacl_process_host.h
index 2e07c7ae4f60e9c0ddee81f1ab0085243be7c657..0ebb9772f355f7676d11cbe5fad76e8cd4624a09 100644
--- a/components/nacl/browser/nacl_process_host.h
+++ b/components/nacl/browser/nacl_process_host.h
@@ -43,8 +43,11 @@ void* AllocateAddressSpaceASLR(base::ProcessHandle process, size_t size);
// running in the renderer and NaCl processes.
class NaClProcessHost : public content::BrowserChildProcessHostDelegate {
public:
+ // document_url: The URL of the document of the Native Client plugin being
dmichael (off chromium) 2014/06/13 21:07:26 document containing the...?
teravest 2014/06/13 21:13:00 Done.
+ // executed.
// manifest_url: the URL of the manifest of the Native Client plugin being
// executed.
+ // render_process_id: Render process id, to control access to private APIs.
// render_view_id: RenderView routing id, to control access to private APIs.
// permission_bits: controls which interfaces the NaCl plugin can use.
// uses_irt: whether the launched process should use the IRT.
@@ -59,7 +62,9 @@ class NaClProcessHost : public content::BrowserChildProcessHostDelegate {
// many crashes have been observed.
// off_the_record: was the process launched from an incognito renderer?
// profile_directory: is the path of current profile directory.
- NaClProcessHost(const GURL& manifest_url,
+ NaClProcessHost(const GURL& document_url,
+ const GURL& manifest_url,
+ int render_process_id,
int render_view_id,
uint32 permission_bits,
bool uses_irt,

Powered by Google App Engine
This is Rietveld 408576698