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

Unified Diff: components/domain_reliability/config.cc

Issue 2613223002: Remove ScopedVector from base::JSONValueConverter (Closed)
Patch Set: Rebase and address comments from mmenke@ 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
« no previous file with comments | « components/domain_reliability/config.h ('k') | components/domain_reliability/config_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/domain_reliability/config.cc
diff --git a/components/domain_reliability/config.cc b/components/domain_reliability/config.cc
index 765e0fa483719d0a1c2adc2f1cccf78caf29bc31..21c93cc1420ce1eee473735348c488170cc73905 100644
--- a/components/domain_reliability/config.cc
+++ b/components/domain_reliability/config.cc
@@ -13,7 +13,6 @@
#include <utility>
#include "base/json/json_reader.h"
-#include "base/json/json_value_converter.h"
#include "base/profiler/scoped_tracker.h"
#include "base/strings/pattern.h"
#include "base/strings/string_util.h"
@@ -70,7 +69,7 @@ bool DomainReliabilityConfig::IsValid() const {
return false;
}
- for (const auto* url : collectors) {
+ for (const auto& url : collectors) {
if (!url->is_valid())
return false;
}
« no previous file with comments | « components/domain_reliability/config.h ('k') | components/domain_reliability/config_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698