diff options
author | dmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-19 14:49:32 +0000 |
---|---|---|
committer | dmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-19 14:49:32 +0000 |
commit | 8cef2068010fa12968211e3721d60d4d5fd3d4e9 (patch) | |
tree | 63907b7fd8fc28fd2d9a343772edb66a79a4d19a /ppapi/c | |
parent | 304d682f570f60644c97fea6d86bc303ba6b2ac5 (diff) | |
download | chromium_src-8cef2068010fa12968211e3721d60d4d5fd3d4e9.zip chromium_src-8cef2068010fa12968211e3721d60d4d5fd3d4e9.tar.gz chromium_src-8cef2068010fa12968211e3721d60d4d5fd3d4e9.tar.bz2 |
Rename Instance_Trusted to Instance_Private, wire it up in Chrome.
Add C++ InstancePrivate.
BUG=None
TEST=PPAPI tests
Review URL: http://codereview.chromium.org/6871040
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82104 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/c')
-rw-r--r-- | ppapi/c/private/ppb_instance_private.h (renamed from ppapi/c/trusted/ppb_instance_trusted.h) | 14 | ||||
-rw-r--r-- | ppapi/c/private/ppp_instance_private.h (renamed from ppapi/c/trusted/ppp_instance_trusted.h) | 14 |
2 files changed, 14 insertions, 14 deletions
diff --git a/ppapi/c/trusted/ppb_instance_trusted.h b/ppapi/c/private/ppb_instance_private.h index 44c9f77..730d909 100644 --- a/ppapi/c/trusted/ppb_instance_trusted.h +++ b/ppapi/c/private/ppb_instance_private.h @@ -2,17 +2,17 @@ * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ -#ifndef PPAPI_C_TRUSTED_PPB_INSTANCE_TRUSTED_H_ -#define PPAPI_C_TRUSTED_PPB_INSTANCE_TRUSTED_H_ +#ifndef PPAPI_C_PRIVATE_PPB_INSTANCE_PRIVATE_H_ +#define PPAPI_C_PRIVATE_PPB_INSTANCE_PRIVATE_H_ #include "ppapi/c/pp_instance.h" #include "ppapi/c/pp_var.h" -#define PPB_INSTANCE_TRUSTED_INTERFACE "PPB_Instance_Trusted;0.1" +#define PPB_INSTANCE_PRIVATE_INTERFACE "PPB_Instance_Private;0.1" /** * @file - * This file defines the PPB_Instance_Trusted interface implemented by the + * This file defines the PPB_Instance_Private interface implemented by the * browser and containing pointers to functions available only to trusted plugin * instances. * @@ -21,11 +21,11 @@ */ /** - * The PPB_Instance_Trusted interface contains functions available only to + * The PPB_Instance_Private interface contains functions available only to * trusted plugin instances. * */ -struct PPB_Instance_Trusted { +struct PPB_Instance_Private { /** * GetWindowObject is a pointer to a function that determines * the DOM window containing this module instance. @@ -70,5 +70,5 @@ struct PPB_Instance_Trusted { * @} */ -#endif /* PPAPI_C_TRUSTED_PPB_INSTANCE_TRUSTED_H_ */ +#endif /* PPAPI_C_PRIVATE_PPB_INSTANCE_PRIVATE_H_ */ diff --git a/ppapi/c/trusted/ppp_instance_trusted.h b/ppapi/c/private/ppp_instance_private.h index b010db4..e587d26 100644 --- a/ppapi/c/trusted/ppp_instance_trusted.h +++ b/ppapi/c/private/ppp_instance_private.h @@ -2,18 +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_TRUSTED_PPP_INSTANCE_TRUSTED_H_ -#define PPAPI_C_TRUSTED_PPP_INSTANCE_TRUSTED_H_ +#ifndef PPAPI_C_PRIVATE_PPP_INSTANCE_PRIVATE_H_ +#define PPAPI_C_PRIVATE_PPP_INSTANCE_PRIVATE_H_ #include "ppapi/c/pp_instance.h" struct PP_Var; -#define PPP_INSTANCE_TRUSTED_INTERFACE "PPP_Instance_Trusted;0.1" +#define PPP_INSTANCE_PRIVATE_INTERFACE "PPP_Instance_Private;0.1" /** * @file - * This file defines the PPP_InstanceTrusted structure; a series of functions + * This file defines the PPP_InstancePrivate structure; a series of functions * that a trusted plugin may implement to provide capabilities only available * to trusted plugins. * @@ -24,12 +24,12 @@ struct PP_Var; */ /** - * The PPP_Instance_Trusted interface contains pointers to a series of + * The PPP_Instance_Private interface contains pointers to a series of * functions that may be implemented in a trusted plugin to provide capabilities * that aren't possible in untrusted modules. */ -struct PPP_Instance_Trusted { +struct PPP_Instance_Private { /** * GetInstanceObject returns a PP_Var representing the scriptable object for * the given instance. Normally this will be a PPP_Class_Deprecated object @@ -50,5 +50,5 @@ struct PPP_Instance_Trusted { * @} */ -#endif /* PPAPI_C_TRUSTED_PPP_INSTANCE_TRUSTED_H_ */ +#endif /* PPAPI_C_PRIVATE_PPP_INSTANCE_PRIVATE_H_ */ |