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

Unified Diff: components/rappor/rappor_service.cc

Issue 2231753002: components: Use stl utilities from the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: One more call site Created 4 years, 4 months 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
« no previous file with comments | « components/query_parser/query_parser.cc ('k') | components/safe_browsing_db/database_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/rappor/rappor_service.cc
diff --git a/components/rappor/rappor_service.cc b/components/rappor/rappor_service.cc
index f8bbdd6e3bc83c07a55ceaaa7466c5a0ba7c2a22..a572c174abf379f79a216c64aa0467864a5f543e 100644
--- a/components/rappor/rappor_service.cc
+++ b/components/rappor/rappor_service.cc
@@ -65,7 +65,7 @@ RapporService::RapporService(
}
RapporService::~RapporService() {
- STLDeleteValues(&metrics_map_);
+ base::STLDeleteValues(&metrics_map_);
}
void RapporService::AddDailyObserver(
@@ -136,7 +136,7 @@ void RapporService::InitializeInternal(
void RapporService::CancelNextLogRotation() {
DCHECK(thread_checker_.CalledOnValidThread());
- STLDeleteValues(&metrics_map_);
+ base::STLDeleteValues(&metrics_map_);
log_rotation_timer_.Stop();
}
@@ -177,7 +177,7 @@ bool RapporService::ExportMetrics(RapporReports* reports) {
report->set_bits(std::string(bytes.begin(), bytes.end()));
DVLOG(2) << "Exporting metric " << kv.first;
}
- STLDeleteValues(&metrics_map_);
+ base::STLDeleteValues(&metrics_map_);
sampler_.ExportMetrics(secret_, reports);
« no previous file with comments | « components/query_parser/query_parser.cc ('k') | components/safe_browsing_db/database_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698