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

Unified Diff: components/nacl/loader/nacl_ipc_adapter.h

Issue 1184523003: attachment broker wip (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor comments. Created 5 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
« no previous file with comments | « components/nacl/browser/nacl_process_host.cc ('k') | components/nacl/loader/nacl_ipc_adapter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/loader/nacl_ipc_adapter.h
diff --git a/components/nacl/loader/nacl_ipc_adapter.h b/components/nacl/loader/nacl_ipc_adapter.h
index 80d75ce2dc71abf8ecaf5dfc4684ec3071e3a8bc..c3d78488ec9d0394c32371b646753e0c652476f1 100644
--- a/components/nacl/loader/nacl_ipc_adapter.h
+++ b/components/nacl/loader/nacl_ipc_adapter.h
@@ -31,6 +31,7 @@ struct NaClImcTypedMsgHdr;
struct PP_Size;
namespace IPC {
+class AttachmentBroker;
class Channel;
struct ChannelHandle;
}
@@ -104,11 +105,11 @@ class NaClIPCAdapter : public base::RefCountedThreadSafe<NaClIPCAdapter>,
// |open_resource_cb| may immediately call a OpenResourceReplyCallback
// function to send a pre-opened resource descriptor to the untrusted side.
// OpenResourceCallback returns true when OpenResourceReplyCallback is called.
- NaClIPCAdapter(
- const IPC::ChannelHandle& handle,
- base::TaskRunner* runner,
- ResolveFileTokenCallback resolve_file_token_cb,
- OpenResourceCallback open_resource_cb);
+ NaClIPCAdapter(const IPC::ChannelHandle& handle,
+ base::TaskRunner* runner,
+ ResolveFileTokenCallback resolve_file_token_cb,
+ OpenResourceCallback open_resource_cb,
+ IPC::AttachmentBroker* broker);
// Initializes with a given channel that's already created for testing
// purposes. This function will take ownership of the given channel.
« no previous file with comments | « components/nacl/browser/nacl_process_host.cc ('k') | components/nacl/loader/nacl_ipc_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698