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

Unified Diff: ios/chrome/browser/ui/settings/settings_egtest.mm

Issue 2762623004: Fix SettingsTestCase.test[Metrics|Breakpad]Reporting on Official (Closed)
Patch Set: Don't add DCHECK Created 3 years, 9 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 | « ios/chrome/app/application_delegate/metrics_mediator.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/settings/settings_egtest.mm
diff --git a/ios/chrome/browser/ui/settings/settings_egtest.mm b/ios/chrome/browser/ui/settings/settings_egtest.mm
index 87f28d3b7d47e786a36298e1d9003e8d3686c80b..8bcf82e7d2f54a54967bd05959d7fd4e0f8897e3 100644
--- a/ios/chrome/browser/ui/settings/settings_egtest.mm
+++ b/ios/chrome/browser/ui/settings/settings_egtest.mm
@@ -605,11 +605,7 @@ bool IsCertificateCleared() {
metrics::prefs::kMetricsReportingEnabled, YES);
chrome_test_util::SetBooleanLocalStatePref(prefs::kMetricsReportingWifiOnly,
NO);
- // Service should be always enabled regardless of network settings.
- chrome_test_util::SetWWANStateTo(YES);
[self assertMetricsServiceEnabled:serviceType];
- chrome_test_util::SetWWANStateTo(NO);
- [self assertMetricsServiceDisabled:serviceType];
#else
// Development build. Do not allow any recording or uploading of data.
// Specifically, the kMetricsReportingEnabled preference is completely
« no previous file with comments | « ios/chrome/app/application_delegate/metrics_mediator.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698