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

Unified Diff: components/browser_sync/profile_sync_service.cc

Issue 2457483002: [MD Settings][Sync Settings] Updates sync status messages (Closed)
Patch Set: Created 4 years, 2 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
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 86eb0068764fdffdf387853a9811d4bdb6c5ef26..88abd1f8e85edd732c3d9c03c5ff61e26831bb6f 100644
--- a/components/browser_sync/profile_sync_service.cc
+++ b/components/browser_sync/profile_sync_service.cc
@@ -166,6 +166,8 @@ void DeleteSyncDataFolder(const base::FilePath& directory_path) {
bool ShouldShowActionOnUI(const syncer::SyncProtocolError& error) {
return (error.action != syncer::UNKNOWN_ACTION &&
+ error.action != syncer::STOP_AND_RESTART_SYNC &&
+ error.action != syncer::CLEAR_USER_DATA_AND_RESYNC &&
error.action != syncer::DISABLE_SYNC_ON_CLIENT &&
error.action != syncer::STOP_SYNC_FOR_DISABLED_ACCOUNT &&
error.action != syncer::RESET_LOCAL_SYNC_DATA);

Powered by Google App Engine
This is Rietveld 408576698