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

Unified Diff: chrome/browser/extensions/api/storage/settings_apitest.cc

Issue 2769113002: [Sync] Stop accessing BrowserContextKeyedServiceFactory on non-UI thread. (Closed)
Patch Set: Rebase and removing dependent patch set. Created 3 years, 9 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 | « no previous file | chrome/browser/extensions/api/storage/settings_sync_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/storage/settings_apitest.cc
diff --git a/chrome/browser/extensions/api/storage/settings_apitest.cc b/chrome/browser/extensions/api/storage/settings_apitest.cc
index e0c56008abffb2bb5f8f83037da5a3fc9937b950..07ea411f58564fcd383ee46f8dec076445ddcfbe 100644
--- a/chrome/browser/extensions/api/storage/settings_apitest.cc
+++ b/chrome/browser/extensions/api/storage/settings_apitest.cc
@@ -113,8 +113,10 @@ class ExtensionSettingsApiTest : public ExtensionApiTest {
}
syncer::SyncableService* GetSyncableService() {
- return settings_sync_util::GetSyncableService(browser()->profile(),
- kModelType);
+ return settings_sync_util::GetSyncableServiceProvider(browser()->profile(),
+ kModelType)
+ .Run()
+ .get();
}
void InitSync(syncer::SyncChangeProcessor* sync_processor) {
« no previous file with comments | « no previous file | chrome/browser/extensions/api/storage/settings_sync_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698