Index: chrome/browser/sync/test/integration/typed_urls_helper.cc |
diff --git a/chrome/browser/sync/test/integration/typed_urls_helper.cc b/chrome/browser/sync/test/integration/typed_urls_helper.cc |
index 850db93d496a138c854b4ac27209657b8af47a71..34f2632889de38ea685d60244eabbb0fa4b8fcf2 100644 |
--- a/chrome/browser/sync/test/integration/typed_urls_helper.cc |
+++ b/chrome/browser/sync/test/integration/typed_urls_helper.cc |
@@ -279,6 +279,15 @@ void DeleteUrlFromHistory(int index, const GURL& url) { |
WaitForHistoryDBThread(index); |
} |
+void DeleteUrlsFromHistory(int index, const std::vector<GURL>& urls) { |
+ test()->GetProfile(index)->GetHistoryServiceWithoutCreating()-> |
+ DeleteURLsForTest(urls); |
+ if (test()->use_verifier()) |
+ test()->verifier()->GetHistoryService(Profile::IMPLICIT_ACCESS)-> |
+ DeleteURLsForTest(urls); |
+ WaitForHistoryDBThread(index); |
+} |
+ |
void AssertURLRowVectorsAreEqual( |
const std::vector<history::URLRow>& left, |
const std::vector<history::URLRow>& right) { |