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

Unified Diff: webkit/plugins/ppapi/ppapi_plugin_instance.cc

Issue 8275012: Remove RemoteAccessClientFirewallTraversal policy and code paths. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-rebase Created 9 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 | « webkit/plugins/ppapi/ppapi_plugin_instance.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppapi_plugin_instance.cc
diff --git a/webkit/plugins/ppapi/ppapi_plugin_instance.cc b/webkit/plugins/ppapi/ppapi_plugin_instance.cc
index 5ec687d3f38a6bd69fdf27b866eb46fc241f789f..cee2c8d6cd02ec44b1fe40761bd81d7990722395 100644
--- a/webkit/plugins/ppapi/ppapi_plugin_instance.cc
+++ b/webkit/plugins/ppapi/ppapi_plugin_instance.cc
@@ -18,7 +18,6 @@
#include "ppapi/c/dev/ppb_memory_dev.h"
#include "ppapi/c/dev/ppb_zoom_dev.h"
#include "ppapi/c/dev/ppp_find_dev.h"
-#include "ppapi/c/dev/ppp_policy_update_dev.h"
#include "ppapi/c/dev/ppp_selection_dev.h"
#include "ppapi/c/dev/ppp_zoom_dev.h"
#include "ppapi/c/pp_input_event.h"
@@ -285,7 +284,6 @@ PluginInstance::PluginInstance(
plugin_input_event_interface_(NULL),
plugin_private_interface_(NULL),
plugin_pdf_interface_(NULL),
- plugin_policy_updated_interface_(NULL),
plugin_selection_interface_(NULL),
plugin_zoom_interface_(NULL),
checked_for_plugin_input_event_interface_(false),
@@ -703,14 +701,6 @@ bool PluginInstance::HandleInputEvent(const WebKit::WebInputEvent& event,
return rv;
}
-void PluginInstance::HandlePolicyUpdate(const std::string& policy_json) {
- if (!LoadPolicyUpdateInterface())
- return;
- plugin_policy_updated_interface_->PolicyUpdated(
- pp_instance(),
- StringVar::StringToPPVar(module()->pp_module(), policy_json));
-}
-
void PluginInstance::HandleMessage(PP_Var message) {
TRACE_EVENT0("ppapi", "PluginInstance::HandleMessage");
// Keep a reference on the stack. See NOTE above.
@@ -983,16 +973,6 @@ bool PluginInstance::LoadPdfInterface() {
return !!plugin_pdf_interface_;
}
-bool PluginInstance::LoadPolicyUpdateInterface() {
- if (!plugin_policy_updated_interface_) {
- plugin_policy_updated_interface_ =
- static_cast<const PPP_PolicyUpdate_Dev*>(module_->GetPluginInterface(
- PPP_POLICYUPDATE_DEV_INTERFACE));
- }
-
- return !!plugin_policy_updated_interface_;
-}
-
bool PluginInstance::LoadPrintInterface() {
if (!plugin_print_interface_) {
plugin_print_interface_ = static_cast<const PPP_Printing_Dev*>(
@@ -1016,7 +996,6 @@ bool PluginInstance::LoadSelectionInterface() {
static_cast<const PPP_Selection_Dev*>(module_->GetPluginInterface(
PPP_SELECTION_DEV_INTERFACE));
}
-
return !!plugin_selection_interface_;
}
@@ -1931,10 +1910,6 @@ void PluginInstance::UnlockMouse(PP_Instance instance) {
delegate()->UnlockMouse(this);
}
-void PluginInstance::SubscribeToPolicyUpdates(PP_Instance instance) {
- delegate()->SubscribeToPolicyUpdates(this);
-}
-
PP_Var PluginInstance::ResolveRelativeToDocument(
PP_Instance instance,
PP_Var relative,
« no previous file with comments | « webkit/plugins/ppapi/ppapi_plugin_instance.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698