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

Unified Diff: components/url_matcher/url_matcher_factory.cc

Issue 108603005: Update uses of Value in chromeos/, cloud_print/, components/, content/ to use the base:: namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
Index: components/url_matcher/url_matcher_factory.cc
diff --git a/components/url_matcher/url_matcher_factory.cc b/components/url_matcher/url_matcher_factory.cc
index ab1c365439970ec3ff34f27162ae3819ed6b25bb..f36e452afaf1ea52ff1b6f129fc3d130d1a79cb1 100644
--- a/components/url_matcher/url_matcher_factory.cc
+++ b/components/url_matcher/url_matcher_factory.cc
@@ -114,7 +114,7 @@ URLMatcherFactory::CreateFromURLFilterDictionary(
for (base::DictionaryValue::Iterator iter(*url_filter_dict);
!iter.IsAtEnd(); iter.Advance()) {
const std::string& condition_attribute_name = iter.key();
- const Value& condition_attribute_value = iter.value();
+ const base::Value& condition_attribute_value = iter.value();
if (IsURLMatcherConditionAttribute(condition_attribute_name)) {
// Handle {host, path, ...}{Prefix, Suffix, Contains, Equals}.
URLMatcherCondition url_matcher_condition =
@@ -245,9 +245,9 @@ scoped_ptr<URLMatcherPortFilter> URLMatcherFactory::CreateURLMatcherPorts(
return scoped_ptr<URLMatcherPortFilter>();
}
- for (ListValue::const_iterator i = value_list->begin();
+ for (base::ListValue::const_iterator i = value_list->begin();
i != value_list->end(); ++i) {
- Value* entry = *i;
+ base::Value* entry = *i;
int port = 0;
base::ListValue* range = NULL;
if (entry->GetAsInteger(&port)) {
« no previous file with comments | « components/policy/core/common/registry_dict_win.cc ('k') | components/url_matcher/url_matcher_factory_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698