OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef APPS_APP_SHIM_APP_SHIM_LAUNCH_H_ | |
6 #define APPS_APP_SHIM_APP_SHIM_LAUNCH_H_ | |
7 | |
8 #include "ipc/ipc_param_traits.h" | |
9 | |
10 namespace apps { | |
11 | |
12 enum AppShimLaunchType { | |
13 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
| |
14 // associate the shim with the given profile | |
15 // and app id. | |
16 LAUNCH_NOW, // Do the above and launch the app. | |
17 }; | |
18 | |
19 } // namespace apps | |
20 | |
21 namespace IPC { | |
22 | |
23 template <> | |
24 struct IPC::SimilarTypeTraits<apps::AppShimLaunchType> { | |
25 typedef int Type; | |
26 }; | |
27 | |
28 } // namespace IPC | |
29 | |
30 #endif // APPS_APP_SHIM_APP_SHIM_LAUNCH_H_ | |
OLD | NEW |