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

Unified Diff: remoting/client/plugin/chromoting_instance.cc

Issue 10543106: Add an explicit function to init NSS for SSL server sockets (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated Created 8 years, 6 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: remoting/client/plugin/chromoting_instance.cc
diff --git a/remoting/client/plugin/chromoting_instance.cc b/remoting/client/plugin/chromoting_instance.cc
index 8435e1e59517df04d18d0aa810815cc410ab8c4b..6a7cf82fcf4663d82b2c4a61689aabefd79246f5 100644
--- a/remoting/client/plugin/chromoting_instance.cc
+++ b/remoting/client/plugin/chromoting_instance.cc
@@ -21,6 +21,7 @@
#include "base/values.h"
#include "jingle/glue/thread_wrapper.h"
#include "media/base/media.h"
+#include "net/socket/ssl_server_socket.h"
#include "ppapi/cpp/completion_callback.h"
#include "ppapi/cpp/input_event.h"
#include "ppapi/cpp/mouse_cursor.h"
@@ -187,6 +188,8 @@ bool ChromotingInstance::Init(uint32_t argc,
return false;
}
+ net::EnableSSLServerSockets();
Wez 2012/06/12 21:30:35 In practice I doubt it's an issue, but the Chromot
Wez 2012/06/12 21:30:35 nit: Add a comment to explain why we need to have
Ryan Sleevi 2012/06/12 22:35:40 Right. I was trying to find where the post-sandbox
+
// Start all the threads.
context_.Start();

Powered by Google App Engine
This is Rietveld 408576698