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

Side by Side Diff: components/nacl/renderer/ppb_nacl_private.h

Issue 1631413002: NaCl cleanup: Remove not-very-useful debug logging in the plugin code (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 4 years, 10 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
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 #ifndef COMPONENTS_NACL_RENDERER_PPB_NACL_PRIVATE_H_ 5 #ifndef COMPONENTS_NACL_RENDERER_PPB_NACL_PRIVATE_H_
6 #define COMPONENTS_NACL_RENDERER_PPB_NACL_PRIVATE_H_ 6 #define COMPONENTS_NACL_RENDERER_PPB_NACL_PRIVATE_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/process/process_handle.h" 9 #include "base/process/process_handle.h"
10 #include "ipc/ipc_sync_channel.h" 10 #include "ipc/ipc_sync_channel.h"
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 PP_NaClError error, 274 PP_NaClError error,
275 const char* error_message); 275 const char* error_message);
276 /* Performs internal setup when an instance is created. */ 276 /* Performs internal setup when an instance is created. */
277 void (*InstanceCreated)(PP_Instance instance); 277 void (*InstanceCreated)(PP_Instance instance);
278 /* Performs internal cleanup when an instance is destroyed. */ 278 /* Performs internal cleanup when an instance is destroyed. */
279 void (*InstanceDestroyed)(PP_Instance instance); 279 void (*InstanceDestroyed)(PP_Instance instance);
280 /* Returns the kind of SFI sandbox implemented by NaCl on this 280 /* Returns the kind of SFI sandbox implemented by NaCl on this
281 * platform. 281 * platform.
282 */ 282 */
283 const char* (*GetSandboxArch)(void); 283 const char* (*GetSandboxArch)(void);
284 /* Logs the message via VLOG. */
285 void (*Vlog)(const char* message);
286 /* Initializes internal state for a NaCl plugin. */ 284 /* Initializes internal state for a NaCl plugin. */
287 void (*InitializePlugin)(PP_Instance instance, 285 void (*InitializePlugin)(PP_Instance instance,
288 uint32_t argc, 286 uint32_t argc,
289 const char* argn[], 287 const char* argn[],
290 const char* argv[]); 288 const char* argv[]);
291 /* Requests the NaCl manifest specified in the plugin arguments. */ 289 /* Requests the NaCl manifest specified in the plugin arguments. */
292 void (*RequestNaClManifest)(PP_Instance instance, 290 void (*RequestNaClManifest)(PP_Instance instance,
293 struct PP_CompletionCallback callback); 291 struct PP_CompletionCallback callback);
294 struct PP_Var (*GetManifestBaseURL)(PP_Instance instance); 292 struct PP_Var (*GetManifestBaseURL)(PP_Instance instance);
295 /* Processes the NaCl manifest once it's been retrieved. 293 /* Processes the NaCl manifest once it's been retrieved.
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 int32_t opt_level, 343 int32_t opt_level,
346 PP_Bool use_subzero, 344 PP_Bool use_subzero,
347 const struct PPP_PexeStreamHandler_1_0* stream_handler, 345 const struct PPP_PexeStreamHandler_1_0* stream_handler,
348 void* stream_handler_user_data); 346 void* stream_handler_user_data);
349 }; 347 };
350 /** 348 /**
351 * @} 349 * @}
352 */ 350 */
353 351
354 #endif /* COMPONENTS_NACL_RENDERER_PPB_NACL_PRIVATE_H_ */ 352 #endif /* COMPONENTS_NACL_RENDERER_PPB_NACL_PRIVATE_H_ */
OLDNEW
« no previous file with comments | « components/nacl/renderer/plugin/utility.cc ('k') | components/nacl/renderer/ppb_nacl_private_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698