According to Tenant Hub, pest control is the landlord's responsibility. NOLO states that:
When the rental agreement is signed, landlord must provide tenant with any pest control company disclosure landlord has received, which describes the pest to be controlled, pesticides used and their active ingredients, a warning that pesticides are toxic, and the frequency of treatment under any contract for periodic service. (Cal. Civ. Code § 1940.8, Cal. Bus. & Prof. Code § 8538)
It therefore seems that landlords would indirectly indicate there was a past infestation by the disclosure of pest control measures currently in place.