1 // Copyright (c) 2009 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. 4 5 #include "net/base/ssl_config_service.h" 6 7 #if defined(OS_WIN) 8 #include "net/base/ssl_config_service_win.h" 9 #elif defined(OS_MACOSX) 10 #include "net/base/ssl_config_service_mac.h" 11 #else 12 #include "net/base/ssl_config_service_defaults.h" 13 #endif 14 15 namespace net { 16 17 // static CreateSystemSSLConfigService()18SSLConfigService* SSLConfigService::CreateSystemSSLConfigService() { 19 #if defined(OS_WIN) 20 return new SSLConfigServiceWin; 21 #elif defined(OS_MACOSX) 22 return new SSLConfigServiceMac; 23 #else 24 return new SSLConfigServiceDefaults; 25 #endif 26 } 27 28 } // namespace net 29