diff options
Diffstat (limited to 'apps/app_shim/app_shim_handler_mac.h')
-rw-r--r-- | apps/app_shim/app_shim_handler_mac.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/app_shim/app_shim_handler_mac.h b/apps/app_shim/app_shim_handler_mac.h index e4a35fb..c24b340 100644 --- a/apps/app_shim/app_shim_handler_mac.h +++ b/apps/app_shim/app_shim_handler_mac.h @@ -7,6 +7,8 @@ #include <string> +#include "apps/app_shim/app_shim_launch.h" + class Profile; namespace apps { @@ -46,8 +48,9 @@ class AppShimHandler { // Invoked by the shim host when the shim process is launched. The handler // must return true if successful, or false to indicate back to the shim - // process that it should close. - virtual bool OnShimLaunch(Host* host) = 0; + // process that it should close. |launch_now| indicates whether to launch the + // associated app. + virtual bool OnShimLaunch(Host* host, AppShimLaunchType launch_type) = 0; // Invoked by the shim host when the connection to the shim process is closed. virtual void OnShimClose(Host* host) = 0; |