Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Unified Diff: net/base/strict_transport_security_state.cc

Issue 441008: Many changes to DictionaryValues:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« base/values.cc ('K') | « ipc/ipc_message_utils.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/strict_transport_security_state.cc
===================================================================
--- net/base/strict_transport_security_state.cc (revision 32858)
+++ net/base/strict_transport_security_state.cc (working copy)
@@ -245,10 +245,10 @@
DictionaryValue* dict_value = reinterpret_cast<DictionaryValue*>(value.get());
const base::Time current_time(base::Time::Now());
- for (DictionaryValue::key_iterator
- i = dict_value->begin_keys(); i != dict_value->end_keys(); ++i) {
+ for (DictionaryValue::key_iterator i = dict_value->begin_keys();
+ i != dict_value->end_keys(); ++i) {
DictionaryValue* state;
- if (!dict_value->GetDictionary(*i, &state))
+ if (!dict_value->GetDictionaryWithoutPathExpansion(*i, &state))
continue;
bool include_subdomains;
« base/values.cc ('K') | « ipc/ipc_message_utils.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698