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

Unified Diff: ppapi/c/private/ppb_proxy_private.h

Issue 6519057: Implement proxying for FileRef and FileChooser.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Fix ppapi tests to account for query change Created 9 years, 10 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_file_ref_dev.h ('k') | ppapi/cpp/dev/file_ref_dev.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/private/ppb_proxy_private.h
===================================================================
--- ppapi/c/private/ppb_proxy_private.h (revision 75293)
+++ ppapi/c/private/ppb_proxy_private.h (working copy)
@@ -5,15 +5,20 @@
#ifndef PPAPI_C_PRIVATE_PROXY_PRIVATE_H_
#define PPAPI_C_PRIVATE_PROXY_PRIVATE_H_
+#include "ppapi/c/pp_instance.h"
#include "ppapi/c/pp_module.h"
+#include "ppapi/c/pp_resource.h"
-#define PPB_PROXY_PRIVATE_INTERFACE "PPB_Proxy_Private;1"
+#define PPB_PROXY_PRIVATE_INTERFACE "PPB_Proxy_Private;2"
// Exposes functions needed by the out-of-process proxy to call into the
// renderer PPAPI implementation.
struct PPB_Proxy_Private {
// Called when the given plugin process has crashed.
void (*PluginCrashed)(PP_Module module);
+
+ // Returns the instance for the given resource, or 0 on failure.
+ PP_Instance (*GetInstanceForResource)(PP_Resource resource);
};
#endif // PPAPI_C_PRIVATE_PROXY_PRIVATE_H_
« no previous file with comments | « ppapi/c/dev/ppb_file_ref_dev.h ('k') | ppapi/cpp/dev/file_ref_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698