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

Unified Diff: content/browser/mojo/mojo_shell_context.cc

Issue 1352663002: 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 | « content/browser/BUILD.gn ('k') | mandoline/app/android/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/mojo/mojo_shell_context.cc
diff --git a/content/browser/mojo/mojo_shell_context.cc b/content/browser/mojo/mojo_shell_context.cc
index 80120da9170c197e523cc4383daf23353e9bbd70..45d22736742fe971715d74a4394e3d77398cc440 100644
--- a/content/browser/mojo/mojo_shell_context.cc
+++ b/content/browser/mojo/mojo_shell_context.cc
@@ -18,7 +18,7 @@
#include "content/public/common/service_registry.h"
#include "mojo/application/public/cpp/application_delegate.h"
#include "mojo/common/url_type_converters.h"
-#include "mojo/fetcher/base_application_fetcher.h"
+#include "mojo/package_manager/package_manager_impl.h"
#include "mojo/shell/application_loader.h"
#include "mojo/shell/connect_to_application_params.h"
#include "mojo/shell/identity.h"
@@ -159,10 +159,10 @@ MojoShellContext::MojoShellContext() {
// Construct with an empty filepath since mojo: urls can't be registered now
// the url scheme registry is locked.
- scoped_ptr<mojo::fetcher::BaseApplicationFetcher> fetcher(
- new mojo::fetcher::BaseApplicationFetcher(base::FilePath()));
+ scoped_ptr<mojo::package_manager::PackageManagerImpl> package_manager(
+ new mojo::package_manager::PackageManagerImpl(base::FilePath()));
application_manager_.reset(
- new mojo::shell::ApplicationManager(fetcher.Pass()));
+ new mojo::shell::ApplicationManager(package_manager.Pass()));
application_manager_->set_default_loader(
scoped_ptr<mojo::shell::ApplicationLoader>(new DefaultApplicationLoader));
« no previous file with comments | « content/browser/BUILD.gn ('k') | mandoline/app/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698