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

Unified Diff: content/renderer/npapi/plugin_channel_host.h

Issue 1483733002: Remove support for NPObjects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 9 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/plugin/webplugin_proxy.cc ('k') | content/renderer/npapi/plugin_channel_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/npapi/plugin_channel_host.h
diff --git a/content/renderer/npapi/plugin_channel_host.h b/content/renderer/npapi/plugin_channel_host.h
index 8494f6400838e8249d45565baaaa982b075982df..f57797130d44435ad254fa967fe7bff93558d996 100644
--- a/content/renderer/npapi/plugin_channel_host.h
+++ b/content/renderer/npapi/plugin_channel_host.h
@@ -12,8 +12,6 @@
#include "ipc/ipc_channel_handle.h"
namespace content {
-class NPObjectBase;
-
// Encapsulates an IPC channel between the renderer and one plugin process.
// On the plugin side there's a corresponding PluginChannel.
class PluginChannelHost : public NPChannelBase {
@@ -33,8 +31,7 @@ class PluginChannelHost : public NPChannelBase {
int GenerateRouteID() override;
- void AddRoute(int route_id, IPC::Listener* listener,
- NPObjectBase* npobject);
+ void AddRoute(int route_id, IPC::Listener* listener);
void RemoveRoute(int route_id);
// NPChannelBase override:
@@ -57,7 +54,6 @@ class PluginChannelHost : public NPChannelBase {
static NPChannelBase* ClassFactory() { return new PluginChannelHost(); }
bool OnControlMessageReceived(const IPC::Message& message) override;
- void OnSetException(const std::string& message);
void OnPluginShuttingDown();
// Keep track of all the registered WebPluginDelegeProxies to
« no previous file with comments | « content/plugin/webplugin_proxy.cc ('k') | content/renderer/npapi/plugin_channel_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698