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

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

Issue 5674004: Add compile assertions to enforce the sizes of all structs and enums in the C... (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
Index: ppapi/c/dev/ppb_file_chooser_dev.h
===================================================================
--- ppapi/c/dev/ppb_file_chooser_dev.h (revision 68603)
+++ ppapi/c/dev/ppb_file_chooser_dev.h (working copy)
@@ -7,6 +7,7 @@
#include "ppapi/c/pp_bool.h"
#include "ppapi/c/pp_instance.h"
+#include "ppapi/c/pp_macros.h"
#include "ppapi/c/pp_resource.h"
struct PP_CompletionCallback;
@@ -16,6 +17,7 @@
PP_FILECHOOSERMODE_OPENMULTIPLE
// TODO(darin): Should there be a way to choose a directory?
} PP_FileChooserMode_Dev;
+PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_FileChooserMode_Dev, 4);
struct PP_FileChooserOptions_Dev {
PP_FileChooserMode_Dev mode;

Powered by Google App Engine
This is Rietveld 408576698