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

Unified Diff: ppapi/c/trusted/ppb_broker_trusted.h

Issue 7396002: More trivial cleanupi of ppapi/c/trusted 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
Index: ppapi/c/trusted/ppb_broker_trusted.h
===================================================================
--- ppapi/c/trusted/ppb_broker_trusted.h (revision 92721)
+++ ppapi/c/trusted/ppb_broker_trusted.h (working copy)
@@ -2,27 +2,30 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
-#ifndef PPAPI_C_PPB_BROKER_TRUSTED_H_
-#define PPAPI_C_PPB_BROKER_TRUSTED_H_
+/* From trusted/ppb_broker_trusted.idl modified Mon Jul 11 15:02:48 2011. */
+
+#ifndef PPAPI_C_TRUSTED_PPB_BROKER_TRUSTED_H_
+#define PPAPI_C_TRUSTED_PPB_BROKER_TRUSTED_H_
+
+#include "ppapi/c/pp_bool.h"
#include "ppapi/c/pp_completion_callback.h"
-#include "ppapi/c/pp_bool.h"
#include "ppapi/c/pp_instance.h"
+#include "ppapi/c/pp_macros.h"
#include "ppapi/c/pp_resource.h"
+#include "ppapi/c/pp_stdint.h"
-#define PPB_BROKER_TRUSTED_INTERFACE "PPB_BrokerTrusted;0.2"
-
/**
* @file
* This file defines the PPB_BrokerTrusted interface, which provides
* access to a trusted broker with greater privileges than the plugin.
*/
+
/**
* @addtogroup Interfaces
* @{
*/
-
/**
* The PPB_BrokerTrusted interface provides access to a trusted broker
* with greater privileges than the plugin. The interface only supports
@@ -34,6 +37,9 @@
* handle is closed. The handle should be closed before the resource is
* released.
*/
+#define PPB_BROKERTRUSTED_INTERFACE_0_2 "PPB_BrokerTrusted;0.2"
+#define PPB_BROKERTRUSTED_INTERFACE PPB_BROKERTRUSTED_INTERFACE_0_2
+
struct PPB_BrokerTrusted {
/**
* Returns a trusted broker resource.
@@ -71,9 +77,12 @@
* before connect has completed will return PP_ERROR_FAILED.
*/
int32_t (*GetHandle)(PP_Resource broker, int32_t* handle);
+
};
+
/**
* @}
*/
-#endif /* PPAPI_C_PPB_BROKER_TRUSTED_H_ */
+#endif /* PPAPI_C_TRUSTED_PPB_BROKER_TRUSTED_H_ */
+

Powered by Google App Engine
This is Rietveld 408576698