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

Unified Diff: chrome/test/base/testing_profile.cc

Issue 1186103002: Abstract //content-level dependencies out of InMemoryURLIndex (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 6 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/browser/autocomplete/in_memory_url_index_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/testing_profile.cc
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
index 134ff9652b9e8c4462e9ce769b31fc59c2b01446..97ab29ff52d1dd0e23089877e61ca69c216c4f46 100644
--- a/chrome/test/base/testing_profile.cc
+++ b/chrome/test/base/testing_profile.cc
@@ -203,8 +203,9 @@ scoped_ptr<KeyedService> BuildInMemoryURLIndex(
BookmarkModelFactory::GetForProfile(profile),
HistoryServiceFactory::GetForProfile(profile,
ServiceAccessType::IMPLICIT_ACCESS),
- profile->GetPath(),
- profile->GetPrefs()->GetString(prefs::kAcceptLanguages)));
+ content::BrowserThread::GetBlockingPool(), profile->GetPath(),
+ profile->GetPrefs()->GetString(prefs::kAcceptLanguages),
+ SchemeSet()));
in_memory_url_index->Init();
return in_memory_url_index.Pass();
}
« no previous file with comments | « chrome/browser/autocomplete/in_memory_url_index_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698