diff options
Diffstat (limited to 'chrome/browser/net/ssl_config_service_manager_pref.cc')
-rw-r--r-- | chrome/browser/net/ssl_config_service_manager_pref.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/browser/net/ssl_config_service_manager_pref.cc b/chrome/browser/net/ssl_config_service_manager_pref.cc index dc904ca..580b184 100644 --- a/chrome/browser/net/ssl_config_service_manager_pref.cc +++ b/chrome/browser/net/ssl_config_service_manager_pref.cc @@ -27,11 +27,11 @@ namespace { // Converts a ListValue of StringValues into a vector of strings. Any Values // which cannot be converted will be skipped. -std::vector<std::string> ListValueToStringVector(const ListValue* value) { +std::vector<std::string> ListValueToStringVector(const base::ListValue* value) { std::vector<std::string> results; results.reserve(value->GetSize()); std::string s; - for (ListValue::const_iterator it = value->begin(); it != value->end(); + for (base::ListValue::const_iterator it = value->begin(); it != value->end(); ++it) { if (!(*it)->GetAsString(&s)) continue; @@ -311,7 +311,8 @@ void SSLConfigServiceManagerPref::GetSSLConfigFromPrefs( void SSLConfigServiceManagerPref::OnDisabledCipherSuitesChange( PrefService* local_state) { - const ListValue* value = local_state->GetList(prefs::kCipherSuiteBlacklist); + const base::ListValue* value = + local_state->GetList(prefs::kCipherSuiteBlacklist); disabled_cipher_suites_ = ParseCipherSuites(ListValueToStringVector(value)); } |