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

Unified Diff: Source/web/WebSettingsImpl.cpp

Issue 246893014: Add a WebSettings item to turn off mixed content check for WebSocket (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Comment Created 6 years, 8 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
Index: Source/web/WebSettingsImpl.cpp
diff --git a/Source/web/WebSettingsImpl.cpp b/Source/web/WebSettingsImpl.cpp
index 1f2ec4eb42bd4b5cc195e105e8019ccb7a7d41dc..0a72f9b0af8d3ee50098d34bfd21a79d1ce71b56 100644
--- a/Source/web/WebSettingsImpl.cpp
+++ b/Source/web/WebSettingsImpl.cpp
@@ -576,6 +576,11 @@ void WebSettingsImpl::setAllowRunningOfInsecureContent(bool enabled)
m_settings->setAllowRunningOfInsecureContent(enabled);
}
+void WebSettingsImpl::setAllowConnectingInsecureWebSocket(bool enabled)
+{
+ m_settings->setAllowConnectingInsecureWebSocket(enabled);
+}
+
void WebSettingsImpl::setPasswordEchoEnabled(bool flag)
{
m_settings->setPasswordEchoEnabled(flag);

Powered by Google App Engine
This is Rietveld 408576698