| 215 | // Guarded by std::once_flag so the user sees it at most once per Steam session. |
| 216 | static std::once_flag g_authFailureOnce; |
| 217 | void NotifyAuthFailure(const std::string& providerName) { |
| 218 | std::call_once(g_authFailureOnce, [&providerName] { |
| 219 | CloudWorkQueue::ShowErrorDialog( |
| 220 | providerName + " authentication failed!\n\n" |
| 221 | "CloudRedirect cannot refresh your access token.\n" |
| 222 | "Cloud sync is disabled until this is resolved.\n\n" |
| 223 | "Re-authenticate using the CloudRedirect setup tool."); |
| 224 | }); |
| 225 | } |
| 226 | |
| 227 | // WorkItem/EnqueueWork/queue infra moved to cloud_work_queue.h/.cpp. |
| 228 | static std::string LocalStoragePath(uint32_t accountId, uint32_t appId); |
nothing calls this directly
no test coverage detected