Chromium Code Reviews| Index: apps/app_shim/app_shim_launch.h |
| diff --git a/apps/app_shim/app_shim_launch.h b/apps/app_shim/app_shim_launch.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..98c99a784385d033b82688b4de3b425e97ae00ab |
| --- /dev/null |
| +++ b/apps/app_shim/app_shim_launch.h |
| @@ -0,0 +1,30 @@ |
| +// Copyright 2013 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef APPS_APP_SHIM_APP_SHIM_LAUNCH_H_ |
| +#define APPS_APP_SHIM_APP_SHIM_LAUNCH_H_ |
| + |
| +#include "ipc/ipc_param_traits.h" |
| + |
| +namespace apps { |
| + |
| +enum AppShimLaunchType { |
| + REGISTER_WITHOUT_LAUNCH = 0, // Process the app shim's LaunchApp message and |
|
tapted
2013/05/30 03:25:06
It's typical for enum values to share a common pre
jackhou1
2013/05/30 05:10:05
Done.
But _NORMAL instead of _REGULAR, because it
|
| + // associate the shim with the given profile |
| + // and app id. |
| + LAUNCH_NOW, // Do the above and launch the app. |
| +}; |
| + |
| +} // namespace apps |
| + |
| +namespace IPC { |
| + |
| +template <> |
| +struct IPC::SimilarTypeTraits<apps::AppShimLaunchType> { |
| + typedef int Type; |
| +}; |
| + |
| +} // namespace IPC |
| + |
| +#endif // APPS_APP_SHIM_APP_SHIM_LAUNCH_H_ |