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

Unified Diff: chrome/browser/metrics/metrics_log.cc

Issue 104493005: Update some uses of Value in chrome/browser to use the base:: namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix 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: chrome/browser/metrics/metrics_log.cc
diff --git a/chrome/browser/metrics/metrics_log.cc b/chrome/browser/metrics/metrics_log.cc
index f1d96149278b870d743f4527b78b2efad04cf35a..d96d41f721cf987052a9018c9834835955d7ad52 100644
--- a/chrome/browser/metrics/metrics_log.cc
+++ b/chrome/browser/metrics/metrics_log.cc
@@ -529,7 +529,7 @@ bool MetricsLog::HasStabilityMetrics() const {
void MetricsLog::WritePluginStabilityElements(PrefService* pref) {
// Now log plugin stability info.
- const ListValue* plugin_stats_list = pref->GetList(
+ const base::ListValue* plugin_stats_list = pref->GetList(
prefs::kStabilityPluginStats);
if (!plugin_stats_list)
return;
@@ -537,13 +537,14 @@ void MetricsLog::WritePluginStabilityElements(PrefService* pref) {
#if defined(ENABLE_PLUGINS)
SystemProfileProto::Stability* stability =
uma_proto()->mutable_system_profile()->mutable_stability();
- for (ListValue::const_iterator iter = plugin_stats_list->begin();
+ for (base::ListValue::const_iterator iter = plugin_stats_list->begin();
iter != plugin_stats_list->end(); ++iter) {
- if (!(*iter)->IsType(Value::TYPE_DICTIONARY)) {
+ if (!(*iter)->IsType(base::Value::TYPE_DICTIONARY)) {
NOTREACHED();
continue;
}
- DictionaryValue* plugin_dict = static_cast<DictionaryValue*>(*iter);
+ base::DictionaryValue* plugin_dict =
+ static_cast<base::DictionaryValue*>(*iter);
// Note that this search is potentially a quadratic operation, but given the
// low number of plugins installed on a "reasonable" setup, this should be
« no previous file with comments | « chrome/browser/media_galleries/media_galleries_test_util.cc ('k') | chrome/browser/metrics/metrics_log_serializer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698