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

Unified Diff: ppapi/c/dev/ppb_url_response_info_dev.h

Issue 4310002: Make PPAPI headers compile with C compilers (gcc on Linux & Mac and MSVS on W... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/c/dev/ppb_url_request_info_dev.h ('k') | ppapi/c/dev/ppb_url_util_dev.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/dev/ppb_url_response_info_dev.h
===================================================================
--- ppapi/c/dev/ppb_url_response_info_dev.h (revision 65116)
+++ ppapi/c/dev/ppb_url_response_info_dev.h (working copy)
@@ -5,6 +5,7 @@
#ifndef PPAPI_C_DEV_PPB_URL_RESPONSE_INFO_DEV_H_
#define PPAPI_C_DEV_PPB_URL_RESPONSE_INFO_DEV_H_
+#include "ppapi/c/pp_bool.h"
#include "ppapi/c/pp_resource.h"
#include "ppapi/c/pp_var.h"
@@ -17,17 +18,18 @@
PP_URLRESPONSEPROPERTY_HEADERS // string, \n-delim
} PP_URLResponseProperty_Dev;
-#define PPB_URLRESPONSEINFO_DEV_INTERFACE "PPB_URLResponseInfo(Dev);0.1"
+#define PPB_URLRESPONSEINFO_DEV_INTERFACE "PPB_URLResponseInfo(Dev);0.2"
struct PPB_URLResponseInfo_Dev {
- // Returns true if the given resource is an URLResponseInfo. Returns false if
- // the resource is invalid or some type other than an URLResponseInfo.
- bool (*IsURLResponseInfo)(PP_Resource resource);
+ // Returns PP_TRUE if the given resource is an URLResponseInfo. Returns
+ // PP_FALSE if the resource is invalid or some type other than an
+ // URLResponseInfo.
+ PP_Bool (*IsURLResponseInfo)(PP_Resource resource);
// Gets a response property. Return PP_VarType_Void if an input parameter is
// invalid.
- PP_Var (*GetProperty)(PP_Resource response,
- PP_URLResponseProperty_Dev property);
+ struct PP_Var (*GetProperty)(PP_Resource response,
+ PP_URLResponseProperty_Dev property);
// Returns a FileRef pointing to the file containing the response body. This
// is only valid if PP_URLREQUESTPROPERTY_STREAMTOFILE was set on the
« no previous file with comments | « ppapi/c/dev/ppb_url_request_info_dev.h ('k') | ppapi/c/dev/ppb_url_util_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698