OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_STATUS_CHANGE_CHECKER_H_ | 5 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_STATUS_CHANGE_CHECKER_H_ |
6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_STATUS_CHANGE_CHECKER_H_ | 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_STATUS_CHANGE_CHECKER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/time/time.h" | 10 #include "base/time/time.h" |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 void StopWaiting(); | 51 void StopWaiting(); |
52 | 52 |
53 // Checks IsExitConditionSatisfied() and calls StopWaiting() if it returns | 53 // Checks IsExitConditionSatisfied() and calls StopWaiting() if it returns |
54 // true. | 54 // true. |
55 void CheckExitCondition(); | 55 void CheckExitCondition(); |
56 | 56 |
57 // Called when the blocking wait timeout is exceeded. | 57 // Called when the blocking wait timeout is exceeded. |
58 void OnTimeout(); | 58 void OnTimeout(); |
59 | 59 |
60 bool timed_out_; | 60 bool timed_out_; |
61 bool wait_started_; | |
62 }; | 61 }; |
63 | 62 |
64 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_STATUS_CHANGE_CHECKER_H_ | 63 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_STATUS_CHANGE_CHECKER_H_ |
OLD | NEW |