Index: chrome/browser/sync/test/integration/typed_urls_helper.h |
diff --git a/chrome/browser/sync/test/integration/typed_urls_helper.h b/chrome/browser/sync/test/integration/typed_urls_helper.h |
index d570aa22f18a24f5d58a131e83b407d422571364..1a5bbdd4b6ed9ef53a831609c5c86526a370dc23 100644 |
--- a/chrome/browser/sync/test/integration/typed_urls_helper.h |
+++ b/chrome/browser/sync/test/integration/typed_urls_helper.h |
@@ -26,6 +26,11 @@ bool GetUrlFromClient(int index, const GURL& url, history::URLRow* row); |
// Gets the visits for a URL from a specific sync profile. |
history::VisitVector GetVisitsFromClient(int index, history::URLID id); |
+// Gets the visits for a URL from a specific sync profile. Like above, but |
+// takes a GURL instead of URLID. Returns empty vector if |url| is not returned |
+// by GetUrlFromClient(). |
+history::VisitVector GetVisitsForURLFromClient(int index, const GURL& url); |
+ |
// Removes the passed |visits| from a specific sync profile. |
void RemoveVisitsFromClient(int index, const history::VisitVector& visits); |