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

Unified Diff: ppapi/c/pp_completion_callback.h

Issue 7399016: More trivial cleanupi of ppapi/c headers (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 months 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/pp_bool.h ('k') | ppapi/c/pp_errors.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/pp_completion_callback.h
===================================================================
--- ppapi/c/pp_completion_callback.h (revision 92804)
+++ ppapi/c/pp_completion_callback.h (working copy)
@@ -2,24 +2,25 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
+
+/* From pp_completion_callback.idl modified Sat Jul 16 16:50:26 2011. */
+
#ifndef PPAPI_C_PP_COMPLETION_CALLBACK_H_
#define PPAPI_C_PP_COMPLETION_CALLBACK_H_
+#include "ppapi/c/pp_macros.h"
+#include "ppapi/c/pp_stdint.h"
+
/**
* @file
* This file defines the API to create and run a callback.
*/
-#include <stdlib.h>
-#include "ppapi/c/pp_macros.h"
-#include "ppapi/c/pp_stdint.h"
-
/**
* @addtogroup Typedefs
* @{
*/
-
/**
* PP_CompletionCallback_Func defines the function signature that you implement
* to receive callbacks on asynchronous completion of an operation.
@@ -37,11 +38,9 @@
*/
/**
- *
* @addtogroup Enums
* @{
*/
-
/**
* This enumeration contains flags used to control how non-NULL callbacks are
* scheduled by asynchronous methods.
@@ -72,7 +71,6 @@
PP_COMPLETIONCALLBACK_FLAG_OPTIONAL = 1 << 0
} PP_CompletionCallback_Flag;
PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_CompletionCallback_Flag, 4);
-
/**
* @}
*/
@@ -81,7 +79,6 @@
* @addtogroup Structs
* @{
*/
-
/**
* Any method that takes a PP_CompletionCallback can complete asynchronously.
* Refer to PP_CompletionCallback_Flag for more information.
@@ -100,6 +97,8 @@
* @}
*/
+#include <stdlib.h>
+
/**
* @addtogroup Functions
* @{
@@ -219,3 +218,4 @@
*/
#endif /* PPAPI_C_PP_COMPLETION_CALLBACK_H_ */
+
« no previous file with comments | « ppapi/c/pp_bool.h ('k') | ppapi/c/pp_errors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698