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

Side by Side Diff: ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c

Issue 870923004: NaCl: Remove now-unneeded SRPC reverse service code (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 5 years, 11 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 | « ppapi/native_client/src/trusted/weak_ref/call_on_main_thread.h ('k') | no next file » | 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) 2015 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2015 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 5
6 /* NOTE: this is auto-generated from IDL */ 6 /* NOTE: this is auto-generated from IDL */
7 #include "ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.h" 7 #include "ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.h"
8 8
9 #include "ppapi/c/ppb.h" 9 #include "ppapi/c/ppb.h"
10 #include "ppapi/c/dev/ppb_audio_input_dev.h" 10 #include "ppapi/c/dev/ppb_audio_input_dev.h"
(...skipping 3702 matching lines...) Expand 10 before | Expand all | Expand 10 after
3713 static void Pnacl_M25_PPB_NaCl_Private_ReportSelLdrStatus(PP_Instance instance, int32_t load_status, int32_t max_status) { 3713 static void Pnacl_M25_PPB_NaCl_Private_ReportSelLdrStatus(PP_Instance instance, int32_t load_status, int32_t max_status) {
3714 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_ 1_0.real_iface; 3714 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_ 1_0.real_iface;
3715 iface->ReportSelLdrStatus(instance, load_status, max_status); 3715 iface->ReportSelLdrStatus(instance, load_status, max_status);
3716 } 3716 }
3717 3717
3718 static void Pnacl_M25_PPB_NaCl_Private_LogTranslateTime(const char* histogram_na me, int64_t time_us) { 3718 static void Pnacl_M25_PPB_NaCl_Private_LogTranslateTime(const char* histogram_na me, int64_t time_us) {
3719 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_ 1_0.real_iface; 3719 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_ 1_0.real_iface;
3720 iface->LogTranslateTime(histogram_name, time_us); 3720 iface->LogTranslateTime(histogram_name, time_us);
3721 } 3721 }
3722 3722
3723 static void Pnacl_M25_PPB_NaCl_Private_OpenManifestEntry(PP_Instance instance, P P_Bool is_helper_process, const char* key, struct PP_NaClFileInfo* file_info, st ruct PP_CompletionCallback* callback) {
3724 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_ 1_0.real_iface;
3725 iface->OpenManifestEntry(instance, is_helper_process, key, file_info, *callbac k);
3726 }
3727
3728 static void Pnacl_M25_PPB_NaCl_Private_SetPNaClStartTime(PP_Instance instance) { 3723 static void Pnacl_M25_PPB_NaCl_Private_SetPNaClStartTime(PP_Instance instance) {
3729 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_ 1_0.real_iface; 3724 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_ 1_0.real_iface;
3730 iface->SetPNaClStartTime(instance); 3725 iface->SetPNaClStartTime(instance);
3731 } 3726 }
3732 3727
3733 static void Pnacl_M25_PPB_NaCl_Private_StreamPexe(PP_Instance instance, const ch ar* pexe_url, int32_t opt_level, const struct PPP_PexeStreamHandler_1_0* stream_ handler, void* stream_handler_user_data) { 3728 static void Pnacl_M25_PPB_NaCl_Private_StreamPexe(PP_Instance instance, const ch ar* pexe_url, int32_t opt_level, const struct PPP_PexeStreamHandler_1_0* stream_ handler, void* stream_handler_user_data) {
3734 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_ 1_0.real_iface; 3729 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_ 1_0.real_iface;
3735 iface->StreamPexe(instance, pexe_url, opt_level, stream_handler, stream_handle r_user_data); 3730 iface->StreamPexe(instance, pexe_url, opt_level, stream_handler, stream_handle r_user_data);
3736 } 3731 }
3737 3732
(...skipping 1871 matching lines...) Expand 10 before | Expand all | Expand 10 after
5609 .RequestNaClManifest = (void (*)(PP_Instance instance, struct PP_CompletionC allback callback))&Pnacl_M25_PPB_NaCl_Private_RequestNaClManifest, 5604 .RequestNaClManifest = (void (*)(PP_Instance instance, struct PP_CompletionC allback callback))&Pnacl_M25_PPB_NaCl_Private_RequestNaClManifest,
5610 .GetManifestBaseURL = (struct PP_Var (*)(PP_Instance instance))&Pnacl_M25_PP B_NaCl_Private_GetManifestBaseURL, 5605 .GetManifestBaseURL = (struct PP_Var (*)(PP_Instance instance))&Pnacl_M25_PP B_NaCl_Private_GetManifestBaseURL,
5611 .ProcessNaClManifest = (void (*)(PP_Instance instance, const char* program_u rl))&Pnacl_M25_PPB_NaCl_Private_ProcessNaClManifest, 5606 .ProcessNaClManifest = (void (*)(PP_Instance instance, const char* program_u rl))&Pnacl_M25_PPB_NaCl_Private_ProcessNaClManifest,
5612 .DevInterfacesEnabled = (PP_Bool (*)(PP_Instance instance))&Pnacl_M25_PPB_Na Cl_Private_DevInterfacesEnabled, 5607 .DevInterfacesEnabled = (PP_Bool (*)(PP_Instance instance))&Pnacl_M25_PPB_Na Cl_Private_DevInterfacesEnabled,
5613 .GetManifestProgramURL = (PP_Bool (*)(PP_Instance instance, struct PP_Var* f ull_url, struct PP_PNaClOptions* pnacl_options, PP_Bool* uses_nonsfi_mode))&Pnac l_M25_PPB_NaCl_Private_GetManifestProgramURL, 5608 .GetManifestProgramURL = (PP_Bool (*)(PP_Instance instance, struct PP_Var* f ull_url, struct PP_PNaClOptions* pnacl_options, PP_Bool* uses_nonsfi_mode))&Pnac l_M25_PPB_NaCl_Private_GetManifestProgramURL,
5614 .GetPnaclResourceInfo = (PP_Bool (*)(PP_Instance instance, struct PP_Var* ll c_tool_name, struct PP_Var* ld_tool_name))&Pnacl_M25_PPB_NaCl_Private_GetPnaclRe sourceInfo, 5609 .GetPnaclResourceInfo = (PP_Bool (*)(PP_Instance instance, struct PP_Var* ll c_tool_name, struct PP_Var* ld_tool_name))&Pnacl_M25_PPB_NaCl_Private_GetPnaclRe sourceInfo,
5615 .GetCpuFeatureAttrs = (struct PP_Var (*)(void))&Pnacl_M25_PPB_NaCl_Private_G etCpuFeatureAttrs, 5610 .GetCpuFeatureAttrs = (struct PP_Var (*)(void))&Pnacl_M25_PPB_NaCl_Private_G etCpuFeatureAttrs,
5616 .DownloadNexe = (void (*)(PP_Instance instance, const char* url, struct PP_N aClFileInfo* file_info, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_Na Cl_Private_DownloadNexe, 5611 .DownloadNexe = (void (*)(PP_Instance instance, const char* url, struct PP_N aClFileInfo* file_info, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_Na Cl_Private_DownloadNexe,
5617 .ReportSelLdrStatus = (void (*)(PP_Instance instance, int32_t load_status, i nt32_t max_status))&Pnacl_M25_PPB_NaCl_Private_ReportSelLdrStatus, 5612 .ReportSelLdrStatus = (void (*)(PP_Instance instance, int32_t load_status, i nt32_t max_status))&Pnacl_M25_PPB_NaCl_Private_ReportSelLdrStatus,
5618 .LogTranslateTime = (void (*)(const char* histogram_name, int64_t time_us))& Pnacl_M25_PPB_NaCl_Private_LogTranslateTime, 5613 .LogTranslateTime = (void (*)(const char* histogram_name, int64_t time_us))& Pnacl_M25_PPB_NaCl_Private_LogTranslateTime,
5619 .OpenManifestEntry = (void (*)(PP_Instance instance, PP_Bool is_helper_proce ss, const char* key, struct PP_NaClFileInfo* file_info, struct PP_CompletionCall back callback))&Pnacl_M25_PPB_NaCl_Private_OpenManifestEntry,
5620 .SetPNaClStartTime = (void (*)(PP_Instance instance))&Pnacl_M25_PPB_NaCl_Pri vate_SetPNaClStartTime, 5614 .SetPNaClStartTime = (void (*)(PP_Instance instance))&Pnacl_M25_PPB_NaCl_Pri vate_SetPNaClStartTime,
5621 .StreamPexe = (void (*)(PP_Instance instance, const char* pexe_url, int32_t opt_level, const struct PPP_PexeStreamHandler_1_0* stream_handler, void* stream_ handler_user_data))&Pnacl_M25_PPB_NaCl_Private_StreamPexe 5615 .StreamPexe = (void (*)(PP_Instance instance, const char* pexe_url, int32_t opt_level, const struct PPP_PexeStreamHandler_1_0* stream_handler, void* stream_ handler_user_data))&Pnacl_M25_PPB_NaCl_Private_StreamPexe
5622 }; 5616 };
5623 5617
5624 static const struct PPB_NetAddress_Private_0_1 Pnacl_Wrappers_PPB_NetAddress_Pri vate_0_1 = { 5618 static const struct PPB_NetAddress_Private_0_1 Pnacl_Wrappers_PPB_NetAddress_Pri vate_0_1 = {
5625 .AreEqual = (PP_Bool (*)(const struct PP_NetAddress_Private* addr1, const st ruct PP_NetAddress_Private* addr2))&Pnacl_M17_PPB_NetAddress_Private_AreEqual, 5619 .AreEqual = (PP_Bool (*)(const struct PP_NetAddress_Private* addr1, const st ruct PP_NetAddress_Private* addr2))&Pnacl_M17_PPB_NetAddress_Private_AreEqual,
5626 .AreHostsEqual = (PP_Bool (*)(const struct PP_NetAddress_Private* addr1, con st struct PP_NetAddress_Private* addr2))&Pnacl_M17_PPB_NetAddress_Private_AreHos tsEqual, 5620 .AreHostsEqual = (PP_Bool (*)(const struct PP_NetAddress_Private* addr1, con st struct PP_NetAddress_Private* addr2))&Pnacl_M17_PPB_NetAddress_Private_AreHos tsEqual,
5627 .Describe = (struct PP_Var (*)(PP_Module module, const struct PP_NetAddress_ Private* addr, PP_Bool include_port))&Pnacl_M17_PPB_NetAddress_Private_Describe, 5621 .Describe = (struct PP_Var (*)(PP_Module module, const struct PP_NetAddress_ Private* addr, PP_Bool include_port))&Pnacl_M17_PPB_NetAddress_Private_Describe,
5628 .ReplacePort = (PP_Bool (*)(const struct PP_NetAddress_Private* src_addr, ui nt16_t port, struct PP_NetAddress_Private* addr_out))&Pnacl_M17_PPB_NetAddress_P rivate_ReplacePort, 5622 .ReplacePort = (PP_Bool (*)(const struct PP_NetAddress_Private* src_addr, ui nt16_t port, struct PP_NetAddress_Private* addr_out))&Pnacl_M17_PPB_NetAddress_P rivate_ReplacePort,
5629 .GetAnyAddress = (void (*)(PP_Bool is_ipv6, struct PP_NetAddress_Private* ad dr))&Pnacl_M17_PPB_NetAddress_Private_GetAnyAddress 5623 .GetAnyAddress = (void (*)(PP_Bool is_ipv6, struct PP_NetAddress_Private* ad dr))&Pnacl_M17_PPB_NetAddress_Private_GetAnyAddress
(...skipping 1069 matching lines...) Expand 10 before | Expand all | Expand 10 after
6699 6693
6700 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ 6694 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */
6701 if (wrapper->real_iface == NULL) { 6695 if (wrapper->real_iface == NULL) {
6702 const void *iface = (*__real_PPPGetInterface)(name); 6696 const void *iface = (*__real_PPPGetInterface)(name);
6703 if (NULL == iface) return NULL; 6697 if (NULL == iface) return NULL;
6704 wrapper->real_iface = iface; 6698 wrapper->real_iface = iface;
6705 } 6699 }
6706 6700
6707 return wrapper->wrapped_iface; 6701 return wrapper->wrapped_iface;
6708 } 6702 }
OLDNEW
« no previous file with comments | « ppapi/native_client/src/trusted/weak_ref/call_on_main_thread.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698