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

Unified Diff: content/browser/ppapi_plugin_process_host.h

Issue 11883026: Add two new debug URLs for Pepper Flash: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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
« no previous file with comments | « chrome/common/url_constants.cc ('k') | content/browser/ppapi_plugin_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/ppapi_plugin_process_host.h
diff --git a/content/browser/ppapi_plugin_process_host.h b/content/browser/ppapi_plugin_process_host.h
index 1bbe8972094f743e53007c6cadfd7b7e9395cef7..c5b6bc17af68387b3eec6397ddc57f749bb5c0f8 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;
« no previous file with comments | « chrome/common/url_constants.cc ('k') | content/browser/ppapi_plugin_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698