Index: chrome/browser/sync/test/integration/sync_test.h |
diff --git a/chrome/browser/sync/test/integration/sync_test.h b/chrome/browser/sync/test/integration/sync_test.h |
index c691a37fc9467c3caa424787e05f46de47926934..d973d44e8d223c1924fdc0996f0afbe5f9986277 100644 |
--- a/chrome/browser/sync/test/integration/sync_test.h |
+++ b/chrome/browser/sync/test/integration/sync_test.h |
@@ -199,6 +199,9 @@ class SyncTest : public InProcessBrowserTest { |
// Checks if encryption is complete for profile |index|. |
bool IsEncryptionComplete(int index); |
+ // Waits until IsEncryptionComplete returns true or a timeout is reached. |
+ bool AwaitEncryptionComplete(int index); |
+ |
// Blocks until all sync clients have completed their mutual sync cycles. |
// Returns true if a quiescent state was successfully reached. |
bool AwaitQuiescence(); |