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

Unified Diff: ppapi/shared_impl/resource_var.h

Issue 24196005: [PPAPI] ResourceVar now holds a pending renderer and browser host ID. (Closed) Base URL: http://git.chromium.org/chromium/src.git@pepper-resourcerawvardata
Patch Set: Remove unnecessary static_cast. Created 7 years, 3 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/proxy/raw_var_data.cc ('k') | ppapi/shared_impl/resource_var.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/resource_var.h
diff --git a/ppapi/shared_impl/resource_var.h b/ppapi/shared_impl/resource_var.h
index 0b8bab2354cddd74d62607a1fcf461a71bbc27e0..96d2403c30cd3acd1bf522c5fe2753a7f63eaff1 100644
--- a/ppapi/shared_impl/resource_var.h
+++ b/ppapi/shared_impl/resource_var.h
@@ -25,6 +25,12 @@ class PPAPI_SHARED_EXPORT ResourceVar : public Var {
// plugin side. It should be AddRef'd if the resource is passed to the user.
virtual PP_Resource GetPPResource() const = 0;
+ // Gets the pending resource host ID in the renderer.
+ virtual int GetPendingRendererHostId() const;
+
+ // Gets the pending resource host ID in the browser.
+ virtual int GetPendingBrowserHostId() const;
+
// Gets the message for creating a plugin-side resource. Returns NULL if the
// message is empty (which is always true on the plugin side).
virtual const IPC::Message* GetCreationMessage() const;
« no previous file with comments | « ppapi/proxy/raw_var_data.cc ('k') | ppapi/shared_impl/resource_var.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698