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

Unified Diff: content/public/renderer/renderer_ppapi_host.h

Issue 21966004: Pepper: Move FileRef to the "new" resource proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CreateInfo/DetailedInfo rename Created 7 years, 4 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
Index: content/public/renderer/renderer_ppapi_host.h
diff --git a/content/public/renderer/renderer_ppapi_host.h b/content/public/renderer/renderer_ppapi_host.h
index 329961e93e0a138a918a3de845118273a15b33e5..5b3cd1776d00760e596c6148a481d7e669da4939 100644
--- a/content/public/renderer/renderer_ppapi_host.h
+++ b/content/public/renderer/renderer_ppapi_host.h
@@ -47,6 +47,11 @@ class RendererPpapiHost {
public:
// Returns the RendererPpapiHost associated with the given PP_Instance,
// or NULL if the instance is invalid.
+ //
+ // Do NOT use this when dealing with the "NaCl trusted plugin". That plugin
+ // and the "untrusted plugin" (the NaCl application) that will be loaded
+ // share a PP_Instance, and the RendererPpapiHost* for the "untrusted plugin"
+ // will be returned.
dmichael (off chromium) 2013/08/08 21:24:03 Is that true always, or only after we switch the p
teravest 2013/08/09 02:00:08 Done.
CONTENT_EXPORT static RendererPpapiHost* GetForPPInstance(
PP_Instance instance);

Powered by Google App Engine
This is Rietveld 408576698