Chromium Code Reviews| Index: chrome/test/live_sync/live_sessions_sync_test.h |
| diff --git a/chrome/test/live_sync/live_sessions_sync_test.h b/chrome/test/live_sync/live_sessions_sync_test.h |
| index 10b5c7815326286f20a866cede72b07943e4f169..ad8c1b79ce4c129f9d91a09893a6d09f61ae0556 100644 |
| --- a/chrome/test/live_sync/live_sessions_sync_test.h |
| +++ b/chrome/test/live_sync/live_sessions_sync_test.h |
| @@ -111,6 +111,14 @@ class LiveSessionsSyncTest : public LiveSyncTest { |
| // of it. Returns true upon success, false otherwise. |
| bool OpenTab(int index, const GURL& url) WARN_UNUSED_RESULT; |
| + // Open multiple tabs and block until the session model associator is aware |
| + // of all of them. Returns true on success, false on failure. |
| + bool OpenMultipleTabs(int index, const std::vector<GURL>& urls); |
| + |
| + // Wait for a session change to propagate to the model associator. Will not |
| + // return until each url in |urls| has been found. |
| + bool AwaitSessionPropagation(int index, const std::vector<GURL>& urls); |
|
Nicolas Zea
2011/08/05 00:40:02
prefer WaitForTabsToLoad
braffert
2011/08/05 00:47:38
Done.
|
| + |
| // Check if the session model associator's knows that the current open tab |
| // has this url. |
| bool ModelAssociatorHasTabWithUrl(int index, const GURL& url); |