Pepper_56_C_interfaces
Pepper_56_C_interfaces
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
ppb_url_loader_trusted.h
Go to the documentation of this file.
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
3  * found in the LICENSE file.
4  */
5 
6 /* From trusted/ppb_url_loader_trusted.idl modified Thu Oct 20 13:57:04 2016. */
7 
8 #ifndef PPAPI_C_TRUSTED_PPB_URL_LOADER_TRUSTED_H_
9 #define PPAPI_C_TRUSTED_PPB_URL_LOADER_TRUSTED_H_
10 
11 #include "ppapi/c/pp_instance.h"
12 #include "ppapi/c/pp_macros.h"
13 #include "ppapi/c/pp_resource.h"
14 #include "ppapi/c/pp_stdint.h"
15 
16 #define PPB_URLLOADERTRUSTED_INTERFACE_0_3 "PPB_URLLoaderTrusted;0.3"
17 #define PPB_URLLOADERTRUSTED_INTERFACE PPB_URLLOADERTRUSTED_INTERFACE_0_3
18 
33  PP_Instance pp_instance,
34  PP_Resource pp_resource,
35  int64_t bytes_sent,
36  int64_t total_bytes_to_be_sent,
37  int64_t bytes_received,
38  int64_t total_bytes_to_be_received);
47 /* Available only to trusted implementations. */
69 };
70 
76 #endif /* PPAPI_C_TRUSTED_PPB_URL_LOADER_TRUSTED_H_ */
77 
void(* RegisterStatusCallback)(PP_Resource loader, PP_URLLoaderTrusted_StatusCallback cb)
Definition: ppb_url_loader_trusted.h:67
int32_t PP_Resource
Definition: pp_resource.h:40
int32_t PP_Instance
Definition: pp_instance.h:34
void(* GrantUniversalAccess)(PP_Resource loader)
Definition: ppb_url_loader_trusted.h:53
void(* PP_URLLoaderTrusted_StatusCallback)(PP_Instance pp_instance, PP_Resource pp_resource, int64_t bytes_sent, int64_t total_bytes_to_be_sent, int64_t bytes_received, int64_t total_bytes_to_be_received)
Definition: ppb_url_loader_trusted.h:32
Definition: ppb_url_loader_trusted.h:48