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

Side by Side Diff: ppapi/api/private/ppb_nacl_private.idl

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, 9 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 /* This file contains NaCl private interfaces. This interface is not versioned 6 /* This file contains NaCl private interfaces. This interface is not versioned
7 * and is for internal Chrome use. It may change without notice. */ 7 * and is for internal Chrome use. It may change without notice. */
8 8
9 label Chrome { 9 label Chrome {
10 M25 = 1.0 10 M25 = 1.0
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 [in] str_t error_message, 277 [in] str_t error_message,
278 [in] str_t console_message, 278 [in] str_t console_message,
279 [in] PP_Bool is_installed); 279 [in] PP_Bool is_installed);
280 280
281 /* Performs internal setup when an instance is created. */ 281 /* Performs internal setup when an instance is created. */
282 void InstanceCreated([in] PP_Instance instance); 282 void InstanceCreated([in] PP_Instance instance);
283 283
284 /* Performs internal cleanup when an instance is destroyed. */ 284 /* Performs internal cleanup when an instance is destroyed. */
285 void InstanceDestroyed([in] PP_Instance instance); 285 void InstanceDestroyed([in] PP_Instance instance);
286 286
287 /* Return true if the NaCl debug stub is enabled and the loaded app 287 /* Return true if the NaCl debug stub is enabled and the app loaded from
288 * will be attached to a debugger. 288 * alleged_nmf_url will be attached to a debugger.
289 */ 289 */
290 PP_Bool NaClDebugStubEnabled(); 290 PP_Bool NaClDebugEnabledForURL([in] str_t alleged_nmf_url);
291 291
292 /* Returns the kind of SFI sandbox implemented by NaCl on this 292 /* Returns the kind of SFI sandbox implemented by NaCl on this
293 /* platform. 293 /* platform.
294 */ 294 */
295 str_t GetSandboxArch(); 295 str_t GetSandboxArch();
296 296
297 /* Returns the scheme type for a given url. */ 297 /* Returns the scheme type for a given url. */
298 PP_UrlSchemeType GetUrlScheme([in] PP_Var url); 298 PP_UrlSchemeType GetUrlScheme([in] PP_Var url);
299 299
300 /* Logs the message to the console. */ 300 /* Logs the message to the console. */
301 void LogToConsole([in] PP_Instance instance, 301 void LogToConsole([in] PP_Instance instance,
302 [in] str_t message); 302 [in] str_t message);
303 }; 303 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698