OLD | NEW |
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 Loading... |
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 }; |
OLD | NEW |