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

Unified Diff: content/browser/ppapi_plugin_process_host.cc

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 | « content/browser/ppapi_plugin_process_host.h ('k') | content/browser/web_contents/debug_urls.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.cc
diff --git a/content/browser/ppapi_plugin_process_host.cc b/content/browser/ppapi_plugin_process_host.cc
index bb4449c46f83ab27c680239f7fde4550afce58d5..4a68ad2666d5157f2af2f7a277dd930e789e43f7 100644
--- a/content/browser/ppapi_plugin_process_host.cc
+++ b/content/browser/ppapi_plugin_process_host.cc
@@ -137,6 +137,16 @@ void PpapiPluginProcessHost::DidDeleteOutOfProcessInstance(
// That's OK, we can just ignore this message.
}
+// static
+void PpapiPluginProcessHost::FindByName(
+ const string16& name,
+ std::vector<PpapiPluginProcessHost*>* hosts) {
+ for (PpapiPluginProcessHostIterator iter; !iter.Done(); ++iter) {
+ if (iter->process_.get() && iter->process_->GetData().name == name)
+ hosts->push_back(*iter);
+ }
+}
+
bool PpapiPluginProcessHost::Send(IPC::Message* message) {
return process_->Send(message);
}
« no previous file with comments | « content/browser/ppapi_plugin_process_host.h ('k') | content/browser/web_contents/debug_urls.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698