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 8d4fb866aa88413e9c0c2602d5350e26e59cae93..3df8d88580ca5bfb1df03fcb1f5fbe24f90b24d2 100644 |
--- a/chrome/browser/sync/test/integration/typed_urls_helper.cc |
+++ b/chrome/browser/sync/test/integration/typed_urls_helper.cc |
@@ -169,6 +169,7 @@ |
transition, |
source, |
false); |
+ service->SetPageTitle(url, base::ASCIIToUTF16(url.spec() + " - title")); |
} |
history::URLRows GetTypedUrlsFromHistoryService( |
@@ -328,16 +329,6 @@ |
HistoryServiceFactory::GetForProfile(test()->verifier(), |
ServiceAccessType::IMPLICIT_ACCESS) |
->DeleteURLsForTest(urls); |
- WaitForHistoryDBThread(index); |
-} |
- |
-void SetPageTitle(int index, const GURL& url, const std::string& title) { |
- HistoryServiceFactory::GetForProfileWithoutCreating(test()->GetProfile(index)) |
- ->SetPageTitle(url, base::UTF8ToUTF16(title)); |
- if (test()->use_verifier()) |
- HistoryServiceFactory::GetForProfile(test()->verifier(), |
- ServiceAccessType::IMPLICIT_ACCESS) |
- ->SetPageTitle(url, base::UTF8ToUTF16(title)); |
WaitForHistoryDBThread(index); |
} |