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

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

Issue 212103002: Check NaCl debug mask (not just flag) before choosing PNaCl debug URL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 8 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 Thu Mar 27 10:43:40 2014. */ 6 /* From private/ppb_nacl_private.idl modified Thu Mar 27 14:44:04 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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 struct PP_Var value); 292 struct PP_Var value);
293 /* Report an error that occured while attempting to load a nexe. */ 293 /* Report an error that occured while attempting to load a nexe. */
294 void (*ReportLoadError)(PP_Instance instance, 294 void (*ReportLoadError)(PP_Instance instance,
295 PP_NaClError error, 295 PP_NaClError error,
296 const char* error_message, 296 const char* error_message,
297 const char* console_message); 297 const char* console_message);
298 /* Performs internal setup when an instance is created. */ 298 /* Performs internal setup when an instance is created. */
299 void (*InstanceCreated)(PP_Instance instance); 299 void (*InstanceCreated)(PP_Instance instance);
300 /* Performs internal cleanup when an instance is destroyed. */ 300 /* Performs internal cleanup when an instance is destroyed. */
301 void (*InstanceDestroyed)(PP_Instance instance); 301 void (*InstanceDestroyed)(PP_Instance instance);
302 /* Return true if the NaCl debug stub is enabled and the loaded app 302 /* Return true if the NaCl debug stub is enabled and the app loaded from
303 * will be attached to a debugger. 303 * alleged_nmf_url will be attached to a debugger.
304 */ 304 */
305 PP_Bool (*NaClDebugStubEnabled)(void); 305 PP_Bool (*NaClDebugEnabledForURL)(const char* alleged_nmf_url);
306 /* Returns the kind of SFI sandbox implemented by NaCl on this 306 /* Returns the kind of SFI sandbox implemented by NaCl on this
307 * platform. 307 * platform.
308 */ 308 */
309 const char* (*GetSandboxArch)(void); 309 const char* (*GetSandboxArch)(void);
310 /* Returns the scheme type for a given url. */ 310 /* Returns the scheme type for a given url. */
311 PP_UrlSchemeType (*GetUrlScheme)(struct PP_Var url); 311 PP_UrlSchemeType (*GetUrlScheme)(struct PP_Var url);
312 /* Logs the message to the console. */ 312 /* Logs the message to the console. */
313 void (*LogToConsole)(PP_Instance instance, const char* message); 313 void (*LogToConsole)(PP_Instance instance, const char* message);
314 /* Returns PP_TRUE if an error has been reported loading the nexe. */ 314 /* Returns PP_TRUE if an error has been reported loading the nexe. */
315 PP_Bool (*GetNexeErrorReported)(PP_Instance instance); 315 PP_Bool (*GetNexeErrorReported)(PP_Instance instance);
(...skipping 10 matching lines...) Expand all
326 void (*SetIsInstalled)(PP_Instance instance, PP_Bool is_installed); 326 void (*SetIsInstalled)(PP_Instance instance, PP_Bool is_installed);
327 }; 327 };
328 328
329 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; 329 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private;
330 /** 330 /**
331 * @} 331 * @}
332 */ 332 */
333 333
334 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ 334 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */
335 335
OLDNEW
« no previous file with comments | « ppapi/api/private/ppb_nacl_private.idl ('k') | ppapi/native_client/src/trusted/plugin/plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698