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

Unified Diff: chrome/browser/ui/webui/sync_internals_message_handler.cc

Issue 2948603002: [Sync] Get SyncServce instead of ProfileSyncService. (Closed)
Patch Set: Created 3 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/sync/profile_sync_service_factory.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/sync_internals_message_handler.cc
diff --git a/chrome/browser/ui/webui/sync_internals_message_handler.cc b/chrome/browser/ui/webui/sync_internals_message_handler.cc
index c629de94a1996688dd5eb9990d90832668aa9b41..835de7c56904892e6ed02987905cde10a70ef5f3 100644
--- a/chrome/browser/ui/webui/sync_internals_message_handler.cc
+++ b/chrome/browser/ui/webui/sync_internals_message_handler.cc
@@ -284,7 +284,7 @@ void SyncInternalsMessageHandler::SendAboutInfo() {
}
SyncService* SyncInternalsMessageHandler::GetSyncService() {
- return ProfileSyncServiceFactory::GetForProfile(
+ return ProfileSyncServiceFactory::GetSyncServiceForBrowserContext(
Profile::FromWebUI(web_ui())->GetOriginalProfile());
}
« no previous file with comments | « chrome/browser/sync/profile_sync_service_factory.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698