Do you know what chips were used in the cookies? Milk chocolate or semi sweet?
This website tells you the toxic amount of the different types of chocolate.
Chocolate and Dog Poisoning
Call your ER vet immediately. They can advise you. He may need activated charcoal.