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

Unified Diff: mandoline/app/core_services_initialization.cc

Issue 1350023002: Revert of Extract some stuff into PackageManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mandoline/app/android/BUILD.gn ('k') | mandoline/app/desktop/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mandoline/app/core_services_initialization.cc
diff --git a/mandoline/app/core_services_initialization.cc b/mandoline/app/core_services_initialization.cc
index b56343dfe01b54ddbcab1adf089b8775b3e7fb9b..17ee8f0017904a6ae6aa71865029e3b6a057deeb 100644
--- a/mandoline/app/core_services_initialization.cc
+++ b/mandoline/app/core_services_initialization.cc
@@ -4,7 +4,6 @@
#include "mandoline/app/core_services_initialization.h"
-#include "mojo/package_manager/package_manager_impl.h"
#include "mojo/runner/context.h"
namespace mandoline {
@@ -12,8 +11,7 @@
void InitCoreServicesForContext(mojo::runner::Context* context) {
// TODO(erg): We should probably handle this differently; these could be
// autogenerated from package manifests.
- mojo::package_manager::PackageManagerImpl* manager =
- context->package_manager();
+ mojo::shell::ApplicationManager* manager = context->application_manager();
manager->RegisterApplicationPackageAlias(
GURL("mojo:clipboard"), GURL("mojo:core_services"), "Core");
manager->RegisterApplicationPackageAlias(GURL("mojo:filesystem"),
« no previous file with comments | « mandoline/app/android/BUILD.gn ('k') | mandoline/app/desktop/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698