This is an application for a new, original and ornamental design for a housing for an electronic device (for example, the electronic device shown and described in U.S. Design patent application Ser. No. 29/452,631, filed Apr. 18, 2013 and entitled “Electronic Device,” which is herein incorporated by reference) 5, of which the following is a specification, reference being had to the accompanying drawings, forming a part thereof.