| 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 "components/ssl_config/ssl_config_service_manager.h" | 4 #include "components/ssl_config/ssl_config_service_manager.h" |
| 5 | 5 |
| 6 #include <stdint.h> | 6 #include <stdint.h> |
| 7 | 7 |
| 8 #include <algorithm> | 8 #include <algorithm> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/bind.h" | 12 #include "base/bind.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/metrics/field_trial.h" | 14 #include "base/metrics/field_trial.h" |
| 15 #include "base/prefs/pref_change_registrar.h" | |
| 16 #include "base/prefs/pref_member.h" | |
| 17 #include "base/prefs/pref_registry_simple.h" | |
| 18 #include "base/prefs/pref_service.h" | |
| 19 #include "base/single_thread_task_runner.h" | 15 #include "base/single_thread_task_runner.h" |
| 20 #include "base/strings/string_util.h" | 16 #include "base/strings/string_util.h" |
| 21 #include "base/values.h" | 17 #include "base/values.h" |
| 22 #include "components/content_settings/core/browser/content_settings_utils.h" | 18 #include "components/content_settings/core/browser/content_settings_utils.h" |
| 23 #include "components/content_settings/core/common/content_settings.h" | 19 #include "components/content_settings/core/common/content_settings.h" |
| 20 #include "components/prefs/pref_change_registrar.h" |
| 21 #include "components/prefs/pref_member.h" |
| 22 #include "components/prefs/pref_registry_simple.h" |
| 23 #include "components/prefs/pref_service.h" |
| 24 #include "components/ssl_config/ssl_config_prefs.h" | 24 #include "components/ssl_config/ssl_config_prefs.h" |
| 25 #include "components/ssl_config/ssl_config_switches.h" | 25 #include "components/ssl_config/ssl_config_switches.h" |
| 26 #include "net/ssl/ssl_cipher_suite_names.h" | 26 #include "net/ssl/ssl_cipher_suite_names.h" |
| 27 #include "net/ssl/ssl_config_service.h" | 27 #include "net/ssl/ssl_config_service.h" |
| 28 | 28 |
| 29 namespace base { | 29 namespace base { |
| 30 class SingleThreadTaskRunner; | 30 class SingleThreadTaskRunner; |
| 31 } | 31 } |
| 32 | 32 |
| 33 namespace { | 33 namespace { |
| (...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 PrefService* local_state, | 317 PrefService* local_state, |
| 318 const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner) { | 318 const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner) { |
| 319 return new SSLConfigServiceManagerPref(local_state, io_task_runner); | 319 return new SSLConfigServiceManagerPref(local_state, io_task_runner); |
| 320 } | 320 } |
| 321 | 321 |
| 322 // static | 322 // static |
| 323 void SSLConfigServiceManager::RegisterPrefs(PrefRegistrySimple* registry) { | 323 void SSLConfigServiceManager::RegisterPrefs(PrefRegistrySimple* registry) { |
| 324 SSLConfigServiceManagerPref::RegisterPrefs(registry); | 324 SSLConfigServiceManagerPref::RegisterPrefs(registry); |
| 325 } | 325 } |
| 326 } // namespace ssl_config | 326 } // namespace ssl_config |
| OLD | NEW |