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

Unified Diff: content/browser/plugin_data_remover_impl.cc

Issue 10310021: Fix the PpapiPluginProcessHost::BrokerClient implementation in PluginDataRemoverImpl::Context. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/plugin_data_remover_impl.cc
diff --git a/content/browser/plugin_data_remover_impl.cc b/content/browser/plugin_data_remover_impl.cc
index f4eab9f809b8a2b9077c5fd1dd5b3da40085c412..a6d14791ddbe7eb0df857414d68b88b8a1e2320d 100644
--- a/content/browser/plugin_data_remover_impl.cc
+++ b/content/browser/plugin_data_remover_impl.cc
@@ -159,14 +159,15 @@ class PluginDataRemoverImpl::Context
// PpapiPluginProcessHost::BrokerClient implementation.
virtual void GetPpapiChannelInfo(base::ProcessHandle* renderer_handle,
int* renderer_id) OVERRIDE {
+ *renderer_handle = base::kNullProcessHandle;
*renderer_id = 0;
}
virtual void OnPpapiChannelOpened(
- base::ProcessHandle plugin_process_handle,
+ base::ProcessHandle /* plugin_process_handle */,
const IPC::ChannelHandle& channel_handle,
int /* child_id */) OVERRIDE {
- if (plugin_process_handle != base::kNullProcessHandle)
+ if (!channel_handle.name.empty())
ConnectToChannel(channel_handle, true);
// Balancing the AddRef call.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698