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

Unified Diff: ppapi/c/dev/ppb_testing_dev.h

Issue 6282007: First pass at making the proxy handle multiple renderers. This associates the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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/dev/ppb_font_dev.h ('k') | ppapi/c/private/ppb_flash.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/dev/ppb_testing_dev.h
===================================================================
--- ppapi/c/dev/ppb_testing_dev.h (revision 71973)
+++ ppapi/c/dev/ppb_testing_dev.h (working copy)
@@ -6,13 +6,13 @@
#define PPAPI_C_DEV_PPB_TESTING_DEV_H_
#include "ppapi/c/pp_bool.h"
-#include "ppapi/c/pp_module.h"
+#include "ppapi/c/pp_instance.h"
#include "ppapi/c/pp_resource.h"
#include "ppapi/c/pp_stdint.h"
struct PP_Point;
-#define PPB_TESTING_DEV_INTERFACE "PPB_Testing(Dev);0.4"
+#define PPB_TESTING_DEV_INTERFACE "PPB_Testing(Dev);0.5"
// This interface contains functions used for unit testing. Do not use in
// production code. They are not guaranteed to be available in normal plugin
@@ -64,8 +64,9 @@
void (*QuitMessageLoop)();
// Returns the number of live objects (resources + strings + objects)
- // associated with this plugin module. Used for detecting leaks.
- uint32_t (*GetLiveObjectCount)(PP_Module module);
+ // associated with this plugin instance. Used for detecting leaks. Returns
+ // (uint32_t)-1 on failure.
+ uint32_t (*GetLiveObjectsForInstance)(PP_Instance instance);
};
#endif /* PPAPI_C_DEV_PPB_TESTING_DEV_H_ */
« no previous file with comments | « ppapi/c/dev/ppb_font_dev.h ('k') | ppapi/c/private/ppb_flash.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698