Pepper_56_C_interfaces
Pepper_56_C_interfaces
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
ppp_pexe_stream_handler.h
Go to the documentation of this file.
1 /* Copyright 2014 The Chromium Authors. All rights reserved.
2  * Use of this source code is governed by a BSD-style license that can be
3  * found in the LICENSE file.
4  */
5 
6 /* From private/ppp_pexe_stream_handler.idl,
7  * modified Thu Oct 20 13:57:04 2016.
8  */
9 
10 #ifndef PPAPI_C_PRIVATE_PPP_PEXE_STREAM_HANDLER_H_
11 #define PPAPI_C_PRIVATE_PPP_PEXE_STREAM_HANDLER_H_
12 
13 #include "ppapi/c/pp_macros.h"
14 #include "ppapi/c/pp_stdint.h"
15 
16 #define PPP_PEXESTREAMHANDLER_INTERFACE_1_0 "PPP_PexeStreamHandler;1.0"
17 #define PPP_PEXESTREAMHANDLER_INTERFACE PPP_PEXESTREAMHANDLER_INTERFACE_1_0
18 
26 
35  void (*DidCacheHit)(void* user_data, PP_FileHandle nexe_file_handle);
40  void (*DidCacheMiss)(void* user_data,
41  int64_t expected_total_length,
42  PP_FileHandle temp_nexe_file);
47  void (*DidStreamData)(void* user_data, const void* data, int32_t length);
52  void (*DidFinishStream)(void* user_data, int32_t pp_error);
53 };
54 
60 #endif /* PPAPI_C_PRIVATE_PPP_PEXE_STREAM_HANDLER_H_ */
61 
void(* DidFinishStream)(void *user_data, int32_t pp_error)
Definition: ppp_pexe_stream_handler.h:52
Definition: ppp_pexe_stream_handler.h:31
void(* DidCacheHit)(void *user_data, PP_FileHandle nexe_file_handle)
Definition: ppp_pexe_stream_handler.h:35
void(* DidStreamData)(void *user_data, const void *data, int32_t length)
Definition: ppp_pexe_stream_handler.h:47
void(* DidCacheMiss)(void *user_data, int64_t expected_total_length, PP_FileHandle temp_nexe_file)
Definition: ppp_pexe_stream_handler.h:40