// Launches the platform app |extension|. Creates appropriate launch data for
// the |command_line| fields present. |extension| and |profile| must not be
-// NULL. A NULL |command_line| means there is no launch data. If non-empty,
+// NULL. An empty |command_line| means there is no launch data. If non-empty,
// |current_directory| is used to expand any relative paths on the command line.
void LaunchPlatformAppWithCommandLine(Profile* profile,
const extensions::Extension* extension,
- const CommandLine* command_line,
+ const CommandLine& command_line,
const base::FilePath& current_directory);
// Launches the platform app |extension| by issuing an onLaunched event