Check for NULL extension_service and extension_process_map for Android platform
[chromium-blink-merge.git] / net / socket / ssl_server_socket_openssl.cc
blobe0cf8bc0b21e8ca68d713e77d5f31ccbf8518989
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "base/logging.h"
6 #include "net/socket/ssl_server_socket.h"
8 // TODO(bulach): Provide simple stubs for EnableSSLServerSockets and
9 // CreateSSLServerSocket so that when building for OpenSSL rather than NSS,
10 // so that the code using SSL server sockets can be compiled and disabled
11 // programatically rather than requiring to be carved out from the compile.
13 namespace net {
15 void EnableSSLServerSockets() {
16 NOTIMPLEMENTED();
19 SSLServerSocket* CreateSSLServerSocket(StreamSocket* socket,
20 X509Certificate* certificate,
21 crypto::RSAPrivateKey* key,
22 const SSLConfig& ssl_config) {
23 NOTIMPLEMENTED();
24 delete socket;
25 return NULL;
28 } // namespace net