Thank you for posting your query at DoctorSpring.com
I understand your concern.
Yes theoretically it is possible to pass on the infection, if someone with an active chest infection manifesting with cough and sputum come close to the normal person. The incidence is lower, and only increases on prolonged exposure. If he did not have any cough, or did not have cold and sneezing then there is no reason to be worried. Only a person who is coughing will spread infected aerosols into the air, which is a potential source of infection.
In your case, i would like to reassure there is nothing to be worried about. Firstly you were not in closed contact, secondly he did not have active coughing and thridly the exposure duration was also very low.
Hope this was helpful,