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

Unified Diff: ios/chrome/app/application_delegate/metrics_mediator.mm

Issue 2762623004: Fix SettingsTestCase.test[Metrics|Breakpad]Reporting on Official (Closed)
Patch Set: 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
Index: ios/chrome/app/application_delegate/metrics_mediator.mm
diff --git a/ios/chrome/app/application_delegate/metrics_mediator.mm b/ios/chrome/app/application_delegate/metrics_mediator.mm
index 3b5ecee6992f944fc32d8e0d68da4e658581db76..b56e2870b3016bead6420260227c349bc89e7615 100644
--- a/ios/chrome/app/application_delegate/metrics_mediator.mm
+++ b/ios/chrome/app/application_delegate/metrics_mediator.mm
@@ -348,6 +348,7 @@ using metrics_mediator::kAppEnteredBackgroundDateKey;
// reporting preference. If it's disabled, or the wifi-only preference is
// not set, we don't care. In fact, we should not even be getting this call.
DCHECK([self isMetricsReportingEnabledWifiOnly]);
+ DCHECK(connectionTypeObserverBridge_);
// |wwanEnabled| is true if a cellular connection such as EDGE or GPRS is
// used. Otherwise, either there is no connection available, or another link
// (such as WiFi) is used.
« no previous file with comments | « no previous file | ios/chrome/browser/ui/settings/settings_egtest.mm » ('j') | ios/chrome/browser/ui/settings/settings_egtest.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698