Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4976)

Unified Diff: chrome/test/live_sync/live_sessions_sync_test.h

Issue 7575026: Session/tab sync performance tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more review suggestions Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/test/live_sync/live_sessions_sync_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..1003f1c57083976ffb95a3c6d6e5a451fdd5f2b2 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 WaitForTabsToLoad(int index, const std::vector<GURL>& urls);
+
// Check if the session model associator's knows that the current open tab
// has this url.
bool ModelAssociatorHasTabWithUrl(int index, const GURL& url);
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/test/live_sync/live_sessions_sync_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698