Correction, 8/8/14, 4:46 p.m.: An earlier version of this story misidentified the law firm representing GoPro on its initial public offer. Fenwick & West advised GoPro while Wilson Sonsini Goodrich & Rosati counseled the underwriters. The story has been updated accordingly. We regret the error.

Swiss drug giant Roche Holdings has agreed to pay up to $1.7 billion to buy Seragon Pharmaceuticals, a San Diego-based maker of breast cancer treatments being advised by Wilson Sonsini Goodrich & Rosati, which is also counseling online vitamin seller Vitacost.com on its $280 million sale to supermarket chain The Kroger Co.