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

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

Issue 2592173002: Fix ios_chrome_unittests to crash on DCHECK failure. (Closed)
Patch Set: Rebase on https://codereview.chromium.org/2591823003/ as it fix some DCHECKs. 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..937c60ccfff64e3f97e978121c6382144b9f2148 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();
+// Resests the hidden state of failed startup attempt count for testing.
justincohen 2016/12/21 20:03:08 Resets
sdefresne 2016/12/22 12:54:22 Done.
+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