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

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 92804)
+++ 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 Sat Jul 16 16:51:03 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,17 +37,18 @@
* handle is closed. The handle should be closed before the resource is
* released.
*/
+#define PPB_BROKER_TRUSTED_INTERFACE_0_2 "PPB_BrokerTrusted;0.2"
+#define PPB_BROKER_TRUSTED_INTERFACE PPB_BROKER_TRUSTED_INTERFACE_0_2
+
struct PPB_BrokerTrusted {
/**
* Returns a trusted broker resource.
*/
PP_Resource (*CreateTrusted)(PP_Instance instance);
-
/**
* Returns true if the resource is a trusted broker.
*/
PP_Bool (*IsBrokerTrusted)(PP_Resource resource);
-
/**
* Connects to the trusted broker. It may have already
* been launched by another instance.
@@ -61,7 +65,6 @@
*/
int32_t (*Connect)(PP_Resource broker,
struct PP_CompletionCallback connect_callback);
-
/**
* Gets the handle to the pipe. Use once Connect has completed. Each instance
* of this interface has its own pipe.
@@ -76,4 +79,5 @@
* @}
*/
-#endif /* PPAPI_C_PPB_BROKER_TRUSTED_H_ */
+#endif /* PPAPI_C_TRUSTED_PPB_BROKER_TRUSTED_H_ */
+

Powered by Google App Engine
This is Rietveld 408576698