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

Unified Diff: ppapi/c/dev/ppb_url_util_dev.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/dev/ppb_scrollbar_dev.h ('k') | ppapi/c/dev/ppp_printing_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_util_dev.h
===================================================================
--- ppapi/c/dev/ppb_url_util_dev.h (revision 68374)
+++ ppapi/c/dev/ppb_url_util_dev.h (working copy)
@@ -32,6 +32,7 @@
int32_t begin;
int32_t len;
};
+PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_UrlComponent_Dev, 8);
struct PP_UrlComponents_Dev {
struct PP_UrlComponent_Dev scheme;
@@ -43,6 +44,7 @@
struct PP_UrlComponent_Dev query;
struct PP_UrlComponent_Dev ref;
};
+PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_UrlComponents_Dev, 64);
// URL encoding: URLs are supplied to this interface as NULL-terminated 8-bit
// strings. You can pass non-ASCII characters which will be interpreted as
« no previous file with comments | « ppapi/c/dev/ppb_scrollbar_dev.h ('k') | ppapi/c/dev/ppp_printing_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698