Connect up firewall control preferences with PPAPI.
This is a temporary measure to get the control required for Chromoting in M14. We will be rearchitecting this in the future (http://code.google.com/p/chromium/issues/detail?id=90543)
BUG=NONE
TEST=NONE
Review URL: http://codereview.chromium.org/7465064
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94844 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/content/renderer/render_view.h b/content/renderer/render_view.h
index e933053..16501b80 100644
--- a/content/renderer/render_view.h
+++ b/content/renderer/render_view.h
@@ -171,7 +171,7 @@
public WebKit::WebViewClient,
public WebKit::WebFrameClient,
public WebKit::WebPageSerializerClient,
- public webkit::npapi::WebPluginPageDelegate,
+ public webkit::npapi::WebPluginPageDelegate,
public base::SupportsWeakPtr<RenderView> {
public:
// Creates a new RenderView. The parent_hwnd specifies a HWND to use as the
@@ -310,6 +310,9 @@
// Informs the render view that a PPAPI plugin has gained or lost focus.
void PpapiPluginFocusChanged();
+ // Request updated policy regarding firewall NAT traversal being enabled.
+ void RequestRemoteAccessClientFirewallTraversal();
+
#if defined(OS_MACOSX)
// Informs the render view that the given plugin has gained or lost focus.
void PluginFocusChanged(bool focused, int plugin_id);
@@ -837,6 +840,8 @@
void OnUndo();
void OnUpdateTargetURLAck();
void OnUpdateWebPreferences(const WebPreferences& prefs);
+ void OnUpdateRemoteAccessClientFirewallTraversal(const std::string& policy);
+
#if defined(OS_MACOSX)
void OnWindowFrameChanged(const gfx::Rect& window_frame,
const gfx::Rect& view_frame);