Use a if (extension_process_host_) to don't do anything if we not have the switch enabled.