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

Unified Diff: content/browser/plugin_data_remover_impl.cc

Issue 2302053004: Use ChannelMojo for plugin-renderer channels. (Closed)
Patch Set: Created 4 years, 2 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/pepper_flash_settings_helper_impl.cc ('k') | content/ppapi_plugin/ppapi_thread.cc » ('j') | 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 6044984e5c52d8d77eb1dd62ae27a95fa60509bf..9ccec6413221eeab1c66ed1aad21e06a35fe94c7 100644
--- a/content/browser/plugin_data_remover_impl.cc
+++ b/content/browser/plugin_data_remover_impl.cc
@@ -139,7 +139,7 @@ class PluginDataRemoverImpl::Context
void OnPpapiChannelOpened(const IPC::ChannelHandle& channel_handle,
base::ProcessId /* peer_pid */,
int /* child_id */) override {
- if (!channel_handle.name.empty())
+ if (channel_handle.is_mojo_channel_handle())
ConnectToChannel(channel_handle);
// Balancing the AddRef call.
« no previous file with comments | « content/browser/pepper_flash_settings_helper_impl.cc ('k') | content/ppapi_plugin/ppapi_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698