Index: chrome/browser/extensions/extension_function_dispatcher.cc |
diff --git a/chrome/browser/extensions/extension_function_dispatcher.cc b/chrome/browser/extensions/extension_function_dispatcher.cc |
index 9a6b372214baaed763f7f8fdafc4df406e7efef2..a64d6a1c6369f3436b6fefa670bda5a1190dc254 100644 |
--- a/chrome/browser/extensions/extension_function_dispatcher.cc |
+++ b/chrome/browser/extensions/extension_function_dispatcher.cc |
@@ -38,6 +38,7 @@ |
#include "chrome/browser/extensions/extension_tabs_module.h" |
#include "chrome/browser/extensions/extension_test_api.h" |
#include "chrome/browser/extensions/extension_tts_api.h" |
+#include "chrome/browser/extensions/extension_web_socket_proxy_private_api.h" |
#include "chrome/browser/extensions/extension_web_ui.h" |
#include "chrome/browser/extensions/extension_webrequest_api.h" |
#include "chrome/browser/extensions/extension_webstore_private_api.h" |
@@ -337,6 +338,9 @@ void FactoryRegistry::ResetFunctions() { |
#endif |
#endif |
+ // Websocket to TCP proxy. Currently noop on anything other than ChromeOS. |
+ RegisterFunction<WebSocketProxyPrivateGetPassportForTCPFunction>(); |
+ |
// Debugger |
RegisterFunction<AttachDebuggerFunction>(); |
RegisterFunction<DetachDebuggerFunction>(); |