OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "mojo/runner/register_local_aliases.h" | 5 #include "mojo/runner/register_local_aliases.h" |
6 | 6 |
7 #include "mojo/package_manager/package_manager_impl.h" | 7 #include "mojo/package_manager/package_manager_impl.h" |
8 | 8 |
9 namespace mojo { | 9 namespace mojo { |
10 namespace runner { | 10 namespace runner { |
(...skipping 13 matching lines...) Expand all Loading... |
24 // On Android, these are Java apps which are loaded in the shell process. | 24 // On Android, these are Java apps which are loaded in the shell process. |
25 manager->RegisterApplicationPackageAlias(GURL("mojo:mus"), | 25 manager->RegisterApplicationPackageAlias(GURL("mojo:mus"), |
26 GURL("mojo:core_services"), | 26 GURL("mojo:core_services"), |
27 "Surfaces"); | 27 "Surfaces"); |
28 manager->RegisterApplicationPackageAlias( | 28 manager->RegisterApplicationPackageAlias( |
29 GURL("mojo:network_service"), GURL("mojo:core_services"), "Network"); | 29 GURL("mojo:network_service"), GURL("mojo:core_services"), "Network"); |
30 manager->RegisterApplicationPackageAlias( | 30 manager->RegisterApplicationPackageAlias( |
31 GURL("mojo:resource_provider"), GURL("mojo:core_services"), "Files"); | 31 GURL("mojo:resource_provider"), GURL("mojo:core_services"), "Files"); |
32 #endif | 32 #endif |
33 | 33 |
34 #if defined(USE_AURA) | |
35 manager->RegisterApplicationPackageAlias(GURL("mojo:desktop_ui"), | |
36 GURL("mojo:core_services"), | |
37 "Core"); | |
38 manager->RegisterApplicationPackageAlias( | |
39 GURL("mojo:omnibox"), GURL("mojo:core_services"), "Core"); | |
40 #endif | |
41 manager->RegisterApplicationPackageAlias( | 34 manager->RegisterApplicationPackageAlias( |
42 GURL("mojo:web_view"), GURL("mojo:core_services"), "Core"); | 35 GURL("mojo:web_view"), GURL("mojo:core_services"), "Core"); |
43 manager->RegisterApplicationPackageAlias( | 36 manager->RegisterApplicationPackageAlias( |
44 GURL("mojo:tracing"), GURL("mojo:core_services"), "Core"); | 37 GURL("mojo:tracing"), GURL("mojo:core_services"), "Core"); |
45 } | 38 } |
46 | 39 |
47 } // namespace runner | 40 } // namespace runner |
48 } // namespace mojo | 41 } // namespace mojo |
OLD | NEW |