A pilot would know that we have oxygen masks in the cockpit...and the first course of action would be to put them on.
and a pilot would also know that turning on extra oxygen in the event of a fire may just lead to a bigger fire!
I agree with Romeo ET