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

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

Issue 6871040: Rename Instance_Trusted to Instance_Private, wire it up in Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix up based on review comments. Created 9 years, 8 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/trusted/ppb_instance_trusted.h ('k') | ppapi/cpp/private/instance_private.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/trusted/ppp_instance_trusted.h
diff --git a/ppapi/c/trusted/ppp_instance_trusted.h b/ppapi/c/trusted/ppp_instance_trusted.h
deleted file mode 100644
index b010db4a3f47782700b6ea307990740fb055d1b7..0000000000000000000000000000000000000000
--- a/ppapi/c/trusted/ppp_instance_trusted.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/* Copyright (c) 2011 The Chromium Authors. All rights reserved.
- * 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_
-
-#include "ppapi/c/pp_instance.h"
-
-struct PP_Var;
-
-#define PPP_INSTANCE_TRUSTED_INTERFACE "PPP_Instance_Trusted;0.1"
-
-/**
- * @file
- * This file defines the PPP_InstanceTrusted structure; a series of functions
- * that a trusted plugin may implement to provide capabilities only available
- * to trusted plugins.
- *
- */
-
-/** @addtogroup Interfaces
- * @{
- */
-
-/**
- * The PPP_Instance_Trusted 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 {
- /**
- * GetInstanceObject returns a PP_Var representing the scriptable object for
- * the given instance. Normally this will be a PPP_Class_Deprecated object
- * that exposes methods and properties to JavaScript.
- *
- * On Failure, the returned PP_Var should be a "void" var.
- *
- * The returned PP_Var should have a reference added for the caller, which
- * will be responsible for Release()ing that reference.
- *
- * @param[in] instance A PP_Instance indentifying the instance from which the
- * instance object is being requested.
- * @return A PP_Var containing scriptable object.
- */
- struct PP_Var (*GetInstanceObject)(PP_Instance instance);
-};
-/**
- * @}
- */
-
-#endif /* PPAPI_C_TRUSTED_PPP_INSTANCE_TRUSTED_H_ */
-
« no previous file with comments | « ppapi/c/trusted/ppb_instance_trusted.h ('k') | ppapi/cpp/private/instance_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698