Index: chrome/browser/sync/profile_sync_service.cc |
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc |
index 5d30a843b3b5cc6934a960522789981307c0ff20..35816df89d5f54467f314d376353d4f7a877988e 100644 |
--- a/chrome/browser/sync/profile_sync_service.cc |
+++ b/chrome/browser/sync/profile_sync_service.cc |
@@ -1221,7 +1221,7 @@ void ProfileSyncService::OnConnectionStatusChange( |
} |
} |
-void ProfileSyncService::OnStopSyncingPermanently() { |
+void ProfileSyncService::StopSyncingPermanently() { |
sync_prefs_.SetStartSuppressed(true); |
DisableForUser(); |
} |
@@ -1335,7 +1335,7 @@ void ProfileSyncService::OnActionableError(const SyncProtocolError& error) { |
// actions in the popup. The current experience might not be optimal for |
// the user. We just dismiss the dialog. |
if (setup_in_progress_) { |
- OnStopSyncingPermanently(); |
+ StopSyncingPermanently(); |
expect_sync_configuration_aborted_ = true; |
} |
// Trigger an unrecoverable error to stop syncing. |
@@ -1345,7 +1345,7 @@ void ProfileSyncService::OnActionableError(const SyncProtocolError& error) { |
ERROR_REASON_ACTIONABLE_ERROR); |
break; |
case syncer::DISABLE_SYNC_ON_CLIENT: |
- OnStopSyncingPermanently(); |
+ StopSyncingPermanently(); |
#if !defined(OS_CHROMEOS) |
// On desktop Chrome, sign out the user after a dashboard clear. |
// TODO(rsimha): Revisit this for M30. See http://crbug.com/252049. |