Index: components/sync/base/sync_prefs.cc |
diff --git a/components/sync/base/sync_prefs.cc b/components/sync/base/sync_prefs.cc |
index 25b54cf3fcb09991fe15503e52edb090d6c0607c..3a260aa248240f756b74e774415386ccbf3ac6c8 100644 |
--- a/components/sync/base/sync_prefs.cc |
+++ b/components/sync/base/sync_prefs.cc |
@@ -555,20 +555,7 @@ bool SyncPrefs::IsLocalSyncEnabled() const { |
} |
base::FilePath SyncPrefs::GetLocalSyncBackendDir() const { |
- base::FilePath local_sync_backend_folder = |
- pref_service_->GetFilePath(prefs::kLocalSyncBackendDir); |
- |
-#if defined(OS_WIN) |
- if (local_sync_backend_folder.empty()) { |
- // TODO(pastarmovj): Add DIR_ROAMING_USER_DATA to PathService to simplify |
- // this code and move the logic in its right place. See crbug/657810. |
- CHECK( |
- base::PathService::Get(base::DIR_APP_DATA, &local_sync_backend_folder)); |
- local_sync_backend_folder = |
- local_sync_backend_folder.Append(FILE_PATH_LITERAL("Chrome/User Data")); |
- } |
-#endif // defined(OS_WIN) |
- return local_sync_backend_folder; |
+ return pref_service_->GetFilePath(prefs::kLocalSyncBackendDir); |
} |
} // namespace syncer |