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

Unified Diff: components/nacl/common/nacl_types.h

Issue 2514323004: Convert NaCl renderer-browser messages to mojo. (Closed)
Patch Set: Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/nacl/common/nacl_host_messages.cc ('k') | components/nacl/common/nacl_types.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/common/nacl_types.h
diff --git a/components/nacl/common/nacl_types.h b/components/nacl/common/nacl_types.h
index 6c991626b462fe5e3179de6baf301eca29309159..2780ac9b74e8cde5b55891e31863dac9cc60bdda 100644
--- a/components/nacl/common/nacl_types.h
+++ b/components/nacl/common/nacl_types.h
@@ -110,69 +110,6 @@ struct NaClStartParams {
// in nacl_types.cc.
};
-// Parameters sent to the browser process to have it launch a NaCl process.
-//
-// If you change this, you will also need to update the IPC serialization in
-// nacl_host_messages.h.
-struct NaClLaunchParams {
- NaClLaunchParams();
- NaClLaunchParams(const std::string& manifest_url,
- const IPC::PlatformFileForTransit& nexe_file,
- uint64_t nexe_token_lo,
- uint64_t nexe_token_hi,
- const std::vector<NaClResourcePrefetchRequest>&
- resource_prefetch_request_list,
- int render_view_id,
- uint32_t permission_bits,
- bool uses_nonsfi_mode,
- NaClAppProcessType process_type);
- NaClLaunchParams(const NaClLaunchParams& other);
- ~NaClLaunchParams();
-
- std::string manifest_url;
- // On Windows, the HANDLE passed here is valid in the renderer's context.
- // It's the responsibility of the browser to duplicate this handle properly
- // for passing it to the plugin.
- IPC::PlatformFileForTransit nexe_file;
- uint64_t nexe_token_lo;
- uint64_t nexe_token_hi;
- std::vector<NaClResourcePrefetchRequest> resource_prefetch_request_list;
-
- int render_view_id;
- uint32_t permission_bits;
- bool uses_nonsfi_mode;
-
- NaClAppProcessType process_type;
-};
-
-struct NaClLaunchResult {
- NaClLaunchResult();
- NaClLaunchResult(
- const IPC::ChannelHandle& ppapi_ipc_channel_handle,
- const IPC::ChannelHandle& trusted_ipc_channel_handle,
- const IPC::ChannelHandle& manifest_service_ipc_channel_handle,
- base::ProcessId plugin_pid,
- int plugin_child_id,
- base::SharedMemoryHandle crash_info_shmem_handle);
- ~NaClLaunchResult();
-
- // For plugin <-> renderer PPAPI communication.
- IPC::ChannelHandle ppapi_ipc_channel_handle;
-
- // For plugin loader <-> renderer control communication (loading and
- // starting nexe).
- IPC::ChannelHandle trusted_ipc_channel_handle;
-
- // For plugin <-> renderer ManifestService communication.
- IPC::ChannelHandle manifest_service_ipc_channel_handle;
-
- base::ProcessId plugin_pid;
- int plugin_child_id;
-
- // For NaCl <-> renderer crash information reporting.
- base::SharedMemoryHandle crash_info_shmem_handle;
-};
-
} // namespace nacl
#endif // COMPONENTS_NACL_COMMON_NACL_TYPES_H_
« no previous file with comments | « components/nacl/common/nacl_host_messages.cc ('k') | components/nacl/common/nacl_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698