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

Unified Diff: ios/chrome/test/app/chrome_test_util.h

Issue 2827313002: Replace drainUntilIdle with a dispatch_barrier_sync for Breakpad tests (Closed)
Patch Set: Created 3 years, 8 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/test/app/chrome_test_util.h
diff --git a/ios/chrome/test/app/chrome_test_util.h b/ios/chrome/test/app/chrome_test_util.h
index 24367d687a4fe9f6c41a9d4455f4995beb70ef73..3aa6108ddb1b0c86c393b3a74fc3f9bce14d1736 100644
--- a/ios/chrome/test/app/chrome_test_util.h
+++ b/ios/chrome/test/app/chrome_test_util.h
@@ -68,22 +68,25 @@ void SetWWANStateTo(bool value);
// Sets the state of first launch.
void SetFirstLaunchStateTo(bool value);
-// Check whether metrics recording is enabled or not.
+// Checks whether metrics recording is enabled or not.
bool IsMetricsRecordingEnabled();
-// Check whether metrics reporting is enabled or not.
+// Checks whether metrics reporting is enabled or not.
bool IsMetricsReportingEnabled();
-// Check whether breakpad recording is enabled or not.
+// Checks whether breakpad recording is enabled or not.
bool IsBreakpadEnabled();
-// Check whether breakpad reporting is enabled or not.
+// Checks whether breakpad reporting is enabled or not.
bool IsBreakpadReportingEnabled();
-// Check whether this is the first launch after upgrade or not.
+// Checks whether this is the first launch after upgrade or not.
bool IsFirstLaunchAfterUpgrade();
-// Simulate launching Chrome from another application.
+// Waits for Breakpad to process the queued updates.
+void WaitForBreakpadQueue();
+
+// Simulates launching Chrome from another application.
void OpenChromeFromExternalApp(const GURL& url);
} // namespace chrome_test_util

Powered by Google App Engine
This is Rietveld 408576698