That is definitely a scam. Generally if you didn't click anything on the scam web page it did no harm. If you restart your computer and it does not recur things are alright.
If it does recur it could indicate that malware changed your home page and scans with your antivirus program and an additional scanner free Malwarebytes would be advisable.
Chrome usually updates itself, but you can open Chrome and go to Settings About Chrome to check for updates.