Chromium Code Reviews| Index: apps/launcher.h |
| diff --git a/apps/launcher.h b/apps/launcher.h |
| index fa6ea1582d27dee47fee5d9b51d3a946f83c2931..66211214955db01454d8002499f8b641a2e1e068 100644 |
| --- a/apps/launcher.h |
| +++ b/apps/launcher.h |
| @@ -41,6 +41,14 @@ void LaunchPlatformAppWithPath(Profile* profile, |
| const extensions::Extension* extension, |
| const base::FilePath& file_path); |
| +// Launches the platform app |extension| with the specific |action_data|. |
| +// |file_path| is an optional argument and if present contains the file that the |
| +// app should open w.r.t. the given action. |
| +void LaunchPlatformAppWithAction(Profile* profile, |
| + const extensions::Extension* extension, |
|
Devlin
2016/08/11 20:51:20
let's use |app| instead of |extension| (I know the
jdufault
2016/08/12 18:56:55
Done.
|
| + const extensions::ActionData& action_data, |
| + const base::FilePath& file_path); |
| + |
| // Launches the platform app |extension|. |source| tells us how the app is |
| // launched. |
| void LaunchPlatformApp(Profile* profile, |