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

Side by Side Diff: net/base/ssl_config_service.cc

Issue 193009: Add an SSLConfigService implementation for Mac OS X (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | net/base/ssl_config_service_mac.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/base/ssl_config_service.h" 5 #include "net/base/ssl_config_service.h"
6 6
7 #if defined(OS_WIN) 7 #if defined(OS_WIN)
8 #include "net/base/ssl_config_service_win.h" 8 #include "net/base/ssl_config_service_win.h"
9 #elif defined(OS_MACOSX)
10 #include "net/base/ssl_config_service_mac.h"
9 #else 11 #else
10 #include "net/base/ssl_config_service_defaults.h" 12 #include "net/base/ssl_config_service_defaults.h"
11 #endif 13 #endif
12 14
13 namespace net { 15 namespace net {
14 16
15 // static 17 // static
16 SSLConfigService* SSLConfigService::CreateSystemSSLConfigService() { 18 SSLConfigService* SSLConfigService::CreateSystemSSLConfigService() {
17 #if defined(OS_WIN) 19 #if defined(OS_WIN)
18 return new SSLConfigServiceWin; 20 return new SSLConfigServiceWin;
21 #elif defined(OS_MACOSX)
22 return new SSLConfigServiceMac;
19 #else 23 #else
20 return new SSLConfigServiceDefaults; 24 return new SSLConfigServiceDefaults;
21 #endif 25 #endif
22 } 26 }
23 27
24 } // namespace net 28 } // namespace net
OLDNEW
« no previous file with comments | « no previous file | net/base/ssl_config_service_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698