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

Unified Diff: ios/chrome/browser/crash_loop_detection_util.h

Issue 2592173002: Fix ios_chrome_unittests to crash on DCHECK failure. (Closed)
Patch Set: Address comments Created 4 years 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 | « no previous file | ios/chrome/browser/crash_loop_detection_util.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/crash_loop_detection_util.h
diff --git a/ios/chrome/browser/crash_loop_detection_util.h b/ios/chrome/browser/crash_loop_detection_util.h
index 0d8118ba81c7b922af8c5e07175e7fb89774fce3..ec8692fb3ec71a34b7f1af2423ff327431763cc2 100644
--- a/ios/chrome/browser/crash_loop_detection_util.h
+++ b/ios/chrome/browser/crash_loop_detection_util.h
@@ -25,6 +25,9 @@ void IncrementFailedStartupAttemptCount(bool flush_immediately);
// elapsed, or some deliberate user action has been taken).
void ResetFailedStartupAttemptCount();
+// Resets the hidden state of failed startup attempt count for testing.
+void ResetFailedStartupAttemptCountForTests();
+
} // namespace crash_util
#endif // IOS_CHROME_BROWSER_CRASH_LOOP_DETECTION_UTIL_H_
« no previous file with comments | « no previous file | ios/chrome/browser/crash_loop_detection_util.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698