If you have Google photos on your device then just log in your Chromebook with same account and they should all be there.
I think the problem is that the P40 Pro probably isn't certified for Google Play, and therefore can't use any Google apps.
This worksAre you able to access photos.google.com on your browser? If so, I think you can upload the photos that way.