Index: chrome/browser/sync/test/integration/status_change_checker.h |
diff --git a/chrome/browser/sync/test/integration/status_change_checker.h b/chrome/browser/sync/test/integration/status_change_checker.h |
index b1611cc86b39881da881f2b63ecfe66235879ded..8647e0fa261881cf25bd409d94d56afc65149653 100644 |
--- a/chrome/browser/sync/test/integration/status_change_checker.h |
+++ b/chrome/browser/sync/test/integration/status_change_checker.h |
@@ -7,6 +7,7 @@ |
#include <string> |
+#include "base/run_loop.h" |
#include "base/time/time.h" |
class ProfileSyncServiceHarness; |
@@ -21,7 +22,7 @@ class ProfileSyncServiceHarness; |
// sense to call StartBlockingWait() more than once. |
class StatusChangeChecker { |
public: |
- explicit StatusChangeChecker(); |
+ StatusChangeChecker(); |
// Returns a string representing this current StatusChangeChecker, and |
// possibly some small part of its state. For example: "AwaitPassphraseError" |
@@ -57,7 +58,11 @@ class StatusChangeChecker { |
// Called when the blocking wait timeout is exceeded. |
void OnTimeout(); |
+ // True if the checker stopped waiting because of timeout. |
bool timed_out_; |
+ |
+ // The RunLoop used for waiting. |
+ base::RunLoop run_loop_; |
}; |
#endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_STATUS_CHANGE_CHECKER_H_ |