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

Unified Diff: webkit/plugins/ppapi/plugin_module.h

Issue 11820009: Distinguish plugin disconnections from plugin crashes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add more comments about the possibility that the ID has been reused. Created 7 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
Index: webkit/plugins/ppapi/plugin_module.h
diff --git a/webkit/plugins/ppapi/plugin_module.h b/webkit/plugins/ppapi/plugin_module.h
index bf417d6882eb556c582b242431e1ed96b4a141bc..4d47459fbdfc84d6805dfe21ed1fe0baa2fd4295 100644
--- a/webkit/plugins/ppapi/plugin_module.h
+++ b/webkit/plugins/ppapi/plugin_module.h
@@ -122,6 +122,10 @@ class WEBKIT_PLUGINS_EXPORT PluginModule :
bool IsProxied() const;
+ // Returns the peer process ID if the plugin is running out of process;
+ // returns |base::kNullProcessId| otherwise.
+ base::ProcessId GetPeerProcessId();
+
static const PPB_Core* GetCore();
// Returns a pointer to the local GetInterface function for retrieving

Powered by Google App Engine
This is Rietveld 408576698