OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 #include "chrome/browser/net/ssl_config_service_manager.h" | 4 #include "chrome/browser/net/ssl_config_service_manager.h" |
5 | 5 |
6 #include <algorithm> | 6 #include <algorithm> |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "chrome/browser/prefs/pref_change_registrar.h" | 12 #include "chrome/browser/api/prefs/pref_change_registrar.h" |
13 #include "chrome/browser/prefs/pref_member.h" | 13 #include "chrome/browser/api/prefs/pref_member.h" |
14 #include "chrome/browser/prefs/pref_service.h" | 14 #include "chrome/browser/prefs/pref_service.h" |
15 #include "chrome/common/chrome_notification_types.h" | 15 #include "chrome/common/chrome_notification_types.h" |
16 #include "chrome/common/pref_names.h" | 16 #include "chrome/common/pref_names.h" |
17 #include "content/public/browser/browser_thread.h" | 17 #include "content/public/browser/browser_thread.h" |
18 #include "content/public/browser/notification_details.h" | 18 #include "content/public/browser/notification_details.h" |
19 #include "content/public/browser/notification_source.h" | 19 #include "content/public/browser/notification_source.h" |
20 #include "net/base/ssl_cipher_suite_names.h" | 20 #include "net/base/ssl_cipher_suite_names.h" |
21 #include "net/base/ssl_config_service.h" | 21 #include "net/base/ssl_config_service.h" |
22 | 22 |
23 using content::BrowserThread; | 23 using content::BrowserThread; |
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 // static | 297 // static |
298 SSLConfigServiceManager* SSLConfigServiceManager::CreateDefaultManager( | 298 SSLConfigServiceManager* SSLConfigServiceManager::CreateDefaultManager( |
299 PrefService* local_state) { | 299 PrefService* local_state) { |
300 return new SSLConfigServiceManagerPref(local_state); | 300 return new SSLConfigServiceManagerPref(local_state); |
301 } | 301 } |
302 | 302 |
303 // static | 303 // static |
304 void SSLConfigServiceManager::RegisterPrefs(PrefService* prefs) { | 304 void SSLConfigServiceManager::RegisterPrefs(PrefService* prefs) { |
305 SSLConfigServiceManagerPref::RegisterPrefs(prefs); | 305 SSLConfigServiceManagerPref::RegisterPrefs(prefs); |
306 } | 306 } |
OLD | NEW |