OLD | NEW |
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 "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/pref_member.h" | 10 #include "chrome/browser/prefs/pref_member.h" |
| 11 #include "chrome/browser/prefs/pref_service.h" |
11 #include "chrome/browser/profile.h" | 12 #include "chrome/browser/profile.h" |
12 #include "chrome/common/notification_service.h" | 13 #include "chrome/common/notification_service.h" |
13 #include "chrome/common/pref_names.h" | 14 #include "chrome/common/pref_names.h" |
14 #include "chrome/browser/pref_service.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. |
23 class SSLConfigServicePref : public net::SSLConfigService { | 23 class SSLConfigServicePref : public net::SSLConfigService { |
24 public: | 24 public: |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 } | 149 } |
150 | 150 |
151 //////////////////////////////////////////////////////////////////////////////// | 151 //////////////////////////////////////////////////////////////////////////////// |
152 // SSLConfigServiceManager | 152 // SSLConfigServiceManager |
153 | 153 |
154 // static | 154 // static |
155 SSLConfigServiceManager* SSLConfigServiceManager::CreateDefaultManager( | 155 SSLConfigServiceManager* SSLConfigServiceManager::CreateDefaultManager( |
156 Profile* profile) { | 156 Profile* profile) { |
157 return new SSLConfigServiceManagerPref(profile); | 157 return new SSLConfigServiceManagerPref(profile); |
158 } | 158 } |
OLD | NEW |