Salesforce.com agreed to acquire Buddy Media in a deal worth as much as $745 million, continuing its rapid expansion into social-media marketing. Salesforce Chief Executive Marc Benioff said the deal will help the company keep up with demand as the online marketing business matures. Chief marketing officers are expected to outpace chief information officers in directing technology spending within the next five years, according to a recent report by industry researcher Gartner.