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

Unified Diff: components/domain_reliability/beacon.cc

Issue 2613223002: Remove ScopedVector from base::JSONValueConverter (Closed)
Patch Set: Created 3 years, 11 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
Index: components/domain_reliability/beacon.cc
diff --git a/components/domain_reliability/beacon.cc b/components/domain_reliability/beacon.cc
index 8c51e8fb739f457c6b79640d1dd9d5bcd6a34de5..8a8a549f8c2ca44573714dfac7fb0d5020fe2f0c 100644
--- a/components/domain_reliability/beacon.cc
+++ b/components/domain_reliability/beacon.cc
@@ -24,7 +24,7 @@ std::unique_ptr<Value> DomainReliabilityBeacon::ToValue(
base::TimeTicks upload_time,
base::TimeTicks last_network_change_time,
const GURL& collector_url,
- const ScopedVector<std::string>& path_prefixes) const {
+ const std::vector<std::unique_ptr<std::string>>& path_prefixes) const {
std::unique_ptr<DictionaryValue> beacon_value(new DictionaryValue());
DCHECK(url.is_valid());
GURL sanitized_url = SanitizeURLForReport(url, collector_url, path_prefixes);

Powered by Google App Engine
This is Rietveld 408576698