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

Unified Diff: components/browser_sync/profile_sync_service.cc

Issue 2457483002: [MD Settings][Sync Settings] Updates sync status messages (Closed)
Patch Set: Addressed rogerta's comment Created 4 years, 1 month 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 f013dbc8d840baee3f730dd4501d34a646be487b..c2d91730471e99e117a21c210340a6be1f9dab9c 100644
--- a/components/browser_sync/profile_sync_service.cc
+++ b/components/browser_sync/profile_sync_service.cc
@@ -164,13 +164,6 @@ void DeleteSyncDataFolder(const base::FilePath& directory_path) {
} // namespace
-bool ShouldShowActionOnUI(const syncer::SyncProtocolError& error) {
- return (error.action != syncer::UNKNOWN_ACTION &&
- error.action != syncer::DISABLE_SYNC_ON_CLIENT &&
- error.action != syncer::STOP_SYNC_FOR_DISABLED_ACCOUNT &&
- error.action != syncer::RESET_LOCAL_SYNC_DATA);
-}
-
ProfileSyncService::InitParams::InitParams() = default;
ProfileSyncService::InitParams::~InitParams() = default;
ProfileSyncService::InitParams::InitParams(InitParams&& other) // NOLINT

Powered by Google App Engine
This is Rietveld 408576698