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

Unified Diff: chrome/browser/sync/test/integration/typed_urls_helper.h

Issue 1087773002: Sync typed urls with typed_cont() == 0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add unit test Created 5 years, 8 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
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);

Powered by Google App Engine
This is Rietveld 408576698