| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "base/message_loop.h" | 5 #include "base/message_loop.h" |
| 6 #include "base/thread.h" | 6 #include "base/thread.h" |
| 7 #include "chrome/browser/browser_process.h" | 7 #include "chrome/browser/browser_process.h" |
| 8 #include "chrome/browser/io_thread.h" | 8 #include "chrome/browser/io_thread.h" |
| 9 #include "chrome/browser/net/ssl_config_service_manager.h" | 9 #include "chrome/browser/net/ssl_config_service_manager.h" |
| 10 #include "chrome/browser/prefs/pref_member.h" | 10 #include "chrome/browser/prefs/pref_member.h" |
| 11 #include "chrome/browser/prefs/pref_service.h" | 11 #include "chrome/browser/prefs/pref_service.h" |
| 12 #include "chrome/browser/profile.h" | 12 #include "chrome/browser/profiles/profile.h" |
| 13 #include "chrome/common/notification_service.h" | 13 #include "chrome/common/notification_service.h" |
| 14 #include "chrome/common/pref_names.h" | 14 #include "chrome/common/pref_names.h" |
| 15 #include "net/base/ssl_config_service.h" | 15 #include "net/base/ssl_config_service.h" |
| 16 | 16 |
| 17 //////////////////////////////////////////////////////////////////////////////// | 17 //////////////////////////////////////////////////////////////////////////////// |
| 18 // SSLConfigServicePref | 18 // SSLConfigServicePref |
| 19 | 19 |
| 20 // An SSLConfigService which stores a cached version of the current SSLConfig | 20 // An SSLConfigService which stores a cached version of the current SSLConfig |
| 21 // prefs, which are updated by SSLConfigServiceManagerPref when the prefs | 21 // prefs, which are updated by SSLConfigServiceManagerPref when the prefs |
| 22 // change. | 22 // change. |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 } | 146 } |
| 147 | 147 |
| 148 //////////////////////////////////////////////////////////////////////////////// | 148 //////////////////////////////////////////////////////////////////////////////// |
| 149 // SSLConfigServiceManager | 149 // SSLConfigServiceManager |
| 150 | 150 |
| 151 // static | 151 // static |
| 152 SSLConfigServiceManager* SSLConfigServiceManager::CreateDefaultManager( | 152 SSLConfigServiceManager* SSLConfigServiceManager::CreateDefaultManager( |
| 153 Profile* profile) { | 153 Profile* profile) { |
| 154 return new SSLConfigServiceManagerPref(profile); | 154 return new SSLConfigServiceManagerPref(profile); |
| 155 } | 155 } |
| OLD | NEW |