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

Unified Diff: ppapi/api/dev/ppb_testing_dev.idl

Issue 8982006: Add GetLiveVars to PPB_Testing_Dev. Fix leaks it uncovered. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged Created 9 years 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 | « no previous file | ppapi/c/dev/ppb_testing_dev.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/api/dev/ppb_testing_dev.idl
diff --git a/ppapi/api/dev/ppb_testing_dev.idl b/ppapi/api/dev/ppb_testing_dev.idl
index 9e51b42a4e37f1249f7788650af299c02c9a7388..fa63fce824a4d80ff287256cd26b572ef384f69a 100644
--- a/ppapi/api/dev/ppb_testing_dev.idl
+++ b/ppapi/api/dev/ppb_testing_dev.idl
@@ -12,7 +12,8 @@
label Chrome {
M14 = 0.7,
M15 = 0.8,
- M17 = 0.9
+ M17 = 0.9,
+ M18 = 0.91
};
interface PPB_Testing_Dev {
@@ -114,4 +115,16 @@ interface PPB_Testing_Dev {
[version=0.9]
PP_Var GetDocumentURL([in] PP_Instance instance,
[out] PP_URLComponents_Dev components);
+
+ /**
+ * Fetches up to |array_size| active PP_Vars in the tracker. Returns the
+ * number of vars in the tracker. The active vars are written to |live_vars|
+ * contiguously starting at index 0. The vars are not in any particular order.
+ * If the number of live vars is greater than |array_size|, then an arbitrary
+ * subset of |array_size| vars is written to |live_vars|. The reference count
+ * of the returned PP_Vars will *not* be affected by this call.
+ */
+ [version=0.91]
+ uint32_t GetLiveVars([size_as=array_size] PP_Var[] live_vars,
+ [in] uint32_t array_size);
};
« no previous file with comments | « no previous file | ppapi/c/dev/ppb_testing_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698