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

Unified Diff: ppapi/c/ppb_url_response_info.h

Issue 5340003: Make a new test to enforce the sizes of all structs and enums in the C API.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years 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/ppb_url_request_info.h ('k') | ppapi/c/ppb_var.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/ppb_url_response_info.h
===================================================================
--- ppapi/c/ppb_url_response_info.h (revision 68374)
+++ ppapi/c/ppb_url_response_info.h (working copy)
@@ -6,6 +6,7 @@
#define PPAPI_C_PPB_URL_RESPONSE_INFO_H_
#include "ppapi/c/pp_bool.h"
+#include "ppapi/c/pp_macros.h"
#include "ppapi/c/pp_resource.h"
#include "ppapi/c/pp_var.h"
@@ -17,6 +18,7 @@
PP_URLRESPONSEPROPERTY_STATUSLINE, // string
PP_URLRESPONSEPROPERTY_HEADERS // string, \n-delim
} PP_URLResponseProperty;
+PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_URLResponseProperty, 4);
#define PPB_URLRESPONSEINFO_INTERFACE "PPB_URLResponseInfo;1"
« no previous file with comments | « ppapi/c/ppb_url_request_info.h ('k') | ppapi/c/ppb_var.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698