Coca-Cola Co. has confirmed it will buy vitamin water maker Glaceau in a move that will expand its non-carbonated beverage line.