Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(590)

Side by Side Diff: mandoline/app/register_local_aliases.cc

Issue 1677293002: Bye bye Mandoline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moar Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mandoline/app/desktop/main.cc ('k') | mandoline/services/core_services/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "mojo/shell/standalone/register_local_aliases.h"
6
7 #include "mojo/shell/package_manager/package_manager_impl.h"
8
9 namespace mojo {
10 namespace shell {
11
12 void RegisterLocalAliases(PackageManagerImpl* manager) {
13 // TODO(erg): We should probably handle this differently; these could be
14 // autogenerated from package manifests.
15 manager->RegisterApplicationPackageAlias(
16 GURL("mojo:clipboard"), GURL("mojo:core_services"), "Core");
17 manager->RegisterApplicationPackageAlias(GURL("mojo:filesystem"),
18 GURL("mojo:core_services"), "Files");
19 #if defined(OS_LINUX) && !defined(OS_ANDROID)
20 manager->RegisterApplicationPackageAlias(GURL("mojo:font_service"),
21 GURL("mojo:core_services"), "Files");
22 #endif
23 #if !defined(OS_ANDROID)
24 // On Android, these are Java apps which are loaded in the shell process.
25 manager->RegisterApplicationPackageAlias(GURL("mojo:mus"),
26 GURL("mojo:core_services"),
27 "Surfaces");
28 manager->RegisterApplicationPackageAlias(
29 GURL("mojo:network_service"), GURL("mojo:core_services"), "Network");
30 manager->RegisterApplicationPackageAlias(
31 GURL("mojo:resource_provider"), GURL("mojo:core_services"), "Files");
32 #endif
33
34 manager->RegisterApplicationPackageAlias(
35 GURL("mojo:web_view"), GURL("mojo:core_services"), "Core");
36 manager->RegisterApplicationPackageAlias(
37 GURL("mojo:tracing"), GURL("mojo:core_services"), "Core");
38 }
39
40 } // namespace shell
41 } // namespace mojo
OLDNEW
« no previous file with comments | « mandoline/app/desktop/main.cc ('k') | mandoline/services/core_services/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698