diff options
author | noelallen@google.com <noelallen@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-18 22:34:24 +0000 |
---|---|---|
committer | noelallen@google.com <noelallen@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-18 22:34:24 +0000 |
commit | 16168b97e7fabf060fa95a5372ce38107acec08b (patch) | |
tree | 5c82cae7650d7d5dfcd1ce8548e914f23791566e /ppapi/c/trusted/ppb_broker_trusted.h | |
parent | 282608ba39abff75fa997d9ce604f394d5083d04 (diff) | |
download | chromium_src-16168b97e7fabf060fa95a5372ce38107acec08b.zip chromium_src-16168b97e7fabf060fa95a5372ce38107acec08b.tar.gz chromium_src-16168b97e7fabf060fa95a5372ce38107acec08b.tar.bz2 |
More trivial cleanupi of ppapi/c/trusted headers
BUG= http://code.google.com/p/chromium/issues/detail?id=76271
TEST= run try
Review URL: http://codereview.chromium.org/7396002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92914 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/c/trusted/ppb_broker_trusted.h')
-rw-r--r-- | ppapi/c/trusted/ppb_broker_trusted.h | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/ppapi/c/trusted/ppb_broker_trusted.h b/ppapi/c/trusted/ppb_broker_trusted.h index 5cf091f..ed4e372 100644 --- a/ppapi/c/trusted/ppb_broker_trusted.h +++ b/ppapi/c/trusted/ppb_broker_trusted.h @@ -2,15 +2,18 @@ * 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_ -#include "ppapi/c/pp_completion_callback.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_instance.h" +#include "ppapi/c/pp_macros.h" #include "ppapi/c/pp_resource.h" - -#define PPB_BROKER_TRUSTED_INTERFACE "PPB_BrokerTrusted;0.2" +#include "ppapi/c/pp_stdint.h" /** * @file @@ -18,11 +21,11 @@ * 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 @@ struct PPB_BrokerTrusted { */ 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 @@ struct PPB_BrokerTrusted { * @} */ -#endif /* PPAPI_C_PPB_BROKER_TRUSTED_H_ */ +#endif /* PPAPI_C_TRUSTED_PPB_BROKER_TRUSTED_H_ */ + |