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

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

Issue 264943003: Pepper: Move manifest logic to components/nacl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 7 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 | Annotate | Revision Log
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 Fri Apr 25 15:10:15 2014. */ 6 /* From private/ppb_nacl_private.idl modified Thu May 1 13:53:29 2014. */
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 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 struct PP_Var (*ParseDataURL)(const char* data_url); 375 struct PP_Var (*ParseDataURL)(const char* data_url);
376 /* Processes the NaCl manifest once it's been retrieved. 376 /* Processes the NaCl manifest once it's been retrieved.
377 * TODO(teravest): Move the rest of the supporting logic out of the trusted 377 * TODO(teravest): Move the rest of the supporting logic out of the trusted
378 * plugin. 378 * plugin.
379 */ 379 */
380 void (*ProcessNaClManifest)(PP_Instance instance, const char* program_url); 380 void (*ProcessNaClManifest)(PP_Instance instance, const char* program_url);
381 /* Returns the manifest url as passed as a plugin argument. */ 381 /* Returns the manifest url as passed as a plugin argument. */
382 struct PP_Var (*GetManifestURLArgument)(PP_Instance instance); 382 struct PP_Var (*GetManifestURLArgument)(PP_Instance instance);
383 PP_Bool (*IsPNaCl)(PP_Instance instance); 383 PP_Bool (*IsPNaCl)(PP_Instance instance);
384 PP_Bool (*DevInterfacesEnabled)(PP_Instance instance); 384 PP_Bool (*DevInterfacesEnabled)(PP_Instance instance);
385 int32_t (*CreatePnaclManifest)(PP_Instance instance);
386 int32_t (*CreateJsonManifest)(PP_Instance instance,
387 const char* manifest_base_url,
388 const char* sandbox_isa,
389 const char* manifest_data);
390 void (*DestroyManifest)(PP_Instance instance, int32_t manifest_id);
391 PP_Bool (*GetManifestProgramURL)(PP_Instance instance,
392 int32_t manifest_id,
393 struct PP_Var* full_url,
394 struct PP_PNaClOptions* pnacl_options,
395 PP_Bool* uses_nonsfi_mode);
396 PP_Bool (*ManifestResolveKey)(PP_Instance instance,
397 int32_t manifest_id,
398 const char* key,
399 struct PP_Var* full_url,
400 struct PP_PNaClOptions* pnacl_options);
385 }; 401 };
386 402
387 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; 403 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private;
388 /** 404 /**
389 * @} 405 * @}
390 */ 406 */
391 407
392 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ 408 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */
393 409
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698