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

Side by Side Diff: ppapi/c/private/ppb_nacl_private.h

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/api/private/ppb_nacl_private.idl ('k') | ppapi/native_client/DEPS » ('j') | 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) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 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 /* From private/ppb_nacl_private.idl modified Thu Jan 22 15:56:12 2015. */ 6 /* From private/ppb_nacl_private.idl modified Fri Jan 23 07:36:29 2015. */
7 7
8 #ifndef PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ 8 #ifndef PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_
9 #define PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ 9 #define PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_
10 10
11 #include "ppapi/c/pp_bool.h" 11 #include "ppapi/c/pp_bool.h"
12 #include "ppapi/c/pp_completion_callback.h" 12 #include "ppapi/c/pp_completion_callback.h"
13 #include "ppapi/c/pp_instance.h" 13 #include "ppapi/c/pp_instance.h"
14 #include "ppapi/c/pp_macros.h" 14 #include "ppapi/c/pp_macros.h"
15 #include "ppapi/c/pp_stdint.h" 15 #include "ppapi/c/pp_stdint.h"
16 #include "ppapi/c/pp_var.h" 16 #include "ppapi/c/pp_var.h"
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 * |max_status| has to be provided because the implementation of this 333 * |max_status| has to be provided because the implementation of this
334 * interface can't access the NaClErrorCode enum. 334 * interface can't access the NaClErrorCode enum.
335 */ 335 */
336 void (*ReportSelLdrStatus)(PP_Instance instance, 336 void (*ReportSelLdrStatus)(PP_Instance instance,
337 int32_t load_status, 337 int32_t load_status,
338 int32_t max_status); 338 int32_t max_status);
339 /* Logs time taken by an operation to UMA histograms. 339 /* Logs time taken by an operation to UMA histograms.
340 * This function is safe to call on any thread. 340 * This function is safe to call on any thread.
341 */ 341 */
342 void (*LogTranslateTime)(const char* histogram_name, int64_t time_us); 342 void (*LogTranslateTime)(const char* histogram_name, int64_t time_us);
343 /* Opens a manifest entry for the given instance. If this is for a helper
344 * process, we consult our internal pnacl.json instead of the user-supplied
345 * NMF.
346 * Fails for files which require PNaCl translation.
347 */
348 void (*OpenManifestEntry)(PP_Instance instance,
349 PP_Bool is_helper_process,
350 const char* key,
351 struct PP_NaClFileInfo* file_info,
352 struct PP_CompletionCallback callback);
353 /* Sets the start time for PNaCl downloading and translation to the current 343 /* Sets the start time for PNaCl downloading and translation to the current
354 * time. 344 * time.
355 */ 345 */
356 void (*SetPNaClStartTime)(PP_Instance instance); 346 void (*SetPNaClStartTime)(PP_Instance instance);
357 /* Downloads and streams a pexe file for PNaCl translation. 347 /* Downloads and streams a pexe file for PNaCl translation.
358 * Fetches the content at |pexe_url| for the given instance and opt_level. 348 * Fetches the content at |pexe_url| for the given instance and opt_level.
359 * If a translated cached nexe is already available, |cache_hit_handle| 349 * If a translated cached nexe is already available, |cache_hit_handle|
360 * is set and |cache_hit_callback| is called. 350 * is set and |cache_hit_callback| is called.
361 * Otherwise, |stream_callback| is called repeatedly with blocks of data 351 * Otherwise, |stream_callback| is called repeatedly with blocks of data
362 * as they are received. |stream_finished_callback| is called after all 352 * as they are received. |stream_finished_callback| is called after all
363 * data has been received and dispatched to |stream_callback|. 353 * data has been received and dispatched to |stream_callback|.
364 */ 354 */
365 void (*StreamPexe)(PP_Instance instance, 355 void (*StreamPexe)(PP_Instance instance,
366 const char* pexe_url, 356 const char* pexe_url,
367 int32_t opt_level, 357 int32_t opt_level,
368 const struct PPP_PexeStreamHandler_1_0* stream_handler, 358 const struct PPP_PexeStreamHandler_1_0* stream_handler,
369 void* stream_handler_user_data); 359 void* stream_handler_user_data);
370 }; 360 };
371 361
372 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; 362 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private;
373 /** 363 /**
374 * @} 364 * @}
375 */ 365 */
376 366
377 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ 367 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */
378 368
OLDNEW
« no previous file with comments | « ppapi/api/private/ppb_nacl_private.idl ('k') | ppapi/native_client/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698