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

Unified Diff: components/browser_sync/profile_sync_service.cc

Issue 2898723003: [Sync] Migrate SyncInternalsMessageHandler off CallJavascriptFunctionUnsafe. (Closed)
Patch Set: More updates for dbeam. Created 3 years, 7 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 | « components/browser_sync/profile_sync_service.h ('k') | components/sync/driver/about_sync_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/browser_sync/profile_sync_service.cc
diff --git a/components/browser_sync/profile_sync_service.cc b/components/browser_sync/profile_sync_service.cc
index df12c63fe92a5f8feed337c1d4c2c15162942f71..cf5f2af870f249567be498da4bd053ccbd2a2791 100644
--- a/components/browser_sync/profile_sync_service.cc
+++ b/components/browser_sync/profile_sync_service.cc
@@ -2194,13 +2194,6 @@ bool ProfileSyncService::IsSyncRequested() const {
return sync_prefs_.IsSyncRequested() || sync_prefs_.IsLocalSyncEnabled();
}
-SigninManagerBase* ProfileSyncService::signin() const {
- DCHECK(thread_checker_.CalledOnValidThread());
- if (!signin_)
- return nullptr;
- return signin_->GetOriginal();
-}
-
void ProfileSyncService::RequestStart() {
DCHECK(thread_checker_.CalledOnValidThread());
if (!IsSyncAllowed()) {
« no previous file with comments | « components/browser_sync/profile_sync_service.h ('k') | components/sync/driver/about_sync_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698