diff options
author | yzshen@chromium.org <yzshen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-22 08:30:33 +0000 |
---|---|---|
committer | yzshen@chromium.org <yzshen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-22 08:30:33 +0000 |
commit | 029bd94e73652b6327fd77a65ec619ffdb1f325b (patch) | |
tree | e1baa98d23524dcae39257bc47abae20b2952e3e /content/browser/ppapi_plugin_process_host.h | |
parent | 1a843b8f84f781c1079e36de77fb986fb7a2c569 (diff) | |
download | chromium_src-029bd94e73652b6327fd77a65ec619ffdb1f325b.zip chromium_src-029bd94e73652b6327fd77a65ec619ffdb1f325b.tar.gz chromium_src-029bd94e73652b6327fd77a65ec619ffdb1f325b.tar.bz2 |
Add two new debug URLs for Pepper Flash:
- chrome://ppapiflashcrash
- chrome://ppapiflashhang
TEST=none
BUG=169915
Review URL: https://chromiumcodereview.appspot.com/11883026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177983 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/ppapi_plugin_process_host.h')
-rw-r--r-- | content/browser/ppapi_plugin_process_host.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/content/browser/ppapi_plugin_process_host.h b/content/browser/ppapi_plugin_process_host.h index 1bbe897..c5b6bc1 100644 --- a/content/browser/ppapi_plugin_process_host.h +++ b/content/browser/ppapi_plugin_process_host.h @@ -5,14 +5,15 @@ #ifndef CONTENT_BROWSER_PPAPI_PLUGIN_PROCESS_HOST_H_ #define CONTENT_BROWSER_PPAPI_PLUGIN_PROCESS_HOST_H_ -#include <string> #include <queue> +#include <vector> #include "base/basictypes.h" #include "base/file_path.h" #include "base/memory/ref_counted.h" #include "base/memory/scoped_ptr.h" #include "base/process.h" +#include "base/string16.h" #include "content/browser/renderer_host/pepper/browser_ppapi_host_impl.h" #include "content/browser/renderer_host/pepper/pepper_message_filter.h" #include "content/public/browser/browser_child_process_host_delegate.h" @@ -94,6 +95,11 @@ class PpapiPluginProcessHost : public BrowserChildProcessHostDelegate, static void DidDeleteOutOfProcessInstance(int plugin_process_id, int32 pp_instance); + // Returns the instances that match the specified process name. + // It can only be called on the IO thread. + static void FindByName(const string16& name, + std::vector<PpapiPluginProcessHost*>* hosts); + // IPC::Sender implementation: virtual bool Send(IPC::Message* message) OVERRIDE; |