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 fd115198781172f7cc15909b7de21058b877d954..a4440fad4bb4e0e033bff003919d4dcb0329921d 100644 |
--- a/chrome/browser/sync/test/integration/sync_test.h |
+++ b/chrome/browser/sync/test/integration/sync_test.h |
@@ -190,6 +190,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(); |