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

Unified Diff: mojo/runner/context.cc

Issue 1566253002: Move package_manager into mojo/shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 11 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 | « mojo/runner/context.h ('k') | mojo/runner/register_local_aliases.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/runner/context.cc
diff --git a/mojo/runner/context.cc b/mojo/runner/context.cc
index fad89a691a3e62b5806136cc9cf787703c628e79..3709b8849a5eaef87128b113fa35eb4c16e315c0 100644
--- a/mojo/runner/context.cc
+++ b/mojo/runner/context.cc
@@ -31,7 +31,6 @@
#include "mojo/application/public/cpp/application_connection.h"
#include "mojo/application/public/cpp/application_delegate.h"
#include "mojo/application/public/cpp/application_impl.h"
-#include "mojo/package_manager/package_manager_impl.h"
#include "mojo/public/cpp/bindings/strong_binding.h"
#include "mojo/runner/host/in_process_native_runner.h"
#include "mojo/runner/host/out_of_process_native_runner.h"
@@ -44,6 +43,7 @@
#include "mojo/services/tracing/public/interfaces/tracing.mojom.h"
#include "mojo/shell/application_loader.h"
#include "mojo/shell/connect_to_application_params.h"
+#include "mojo/shell/package_manager/package_manager_impl.h"
#include "mojo/shell/query_util.h"
#include "mojo/shell/switches.h"
#include "mojo/util/filename_util.h"
@@ -68,7 +68,7 @@ class Setup {
DISALLOW_COPY_AND_ASSIGN(Setup);
};
-void InitContentHandlers(package_manager::PackageManagerImpl* manager,
+void InitContentHandlers(shell::PackageManagerImpl* manager,
const base::CommandLine& command_line) {
// Default content handlers.
manager->RegisterContentHandler("application/javascript",
@@ -217,7 +217,7 @@ bool Context::Init(const base::FilePath& shell_file_root) {
task_runners_->io_runner(),
embedder::ScopedPlatformHandle());
- package_manager_ = new package_manager::PackageManagerImpl(
+ package_manager_ = new shell::PackageManagerImpl(
shell_file_root, task_runners_->blocking_pool());
InitContentHandlers(package_manager_, command_line);
« no previous file with comments | « mojo/runner/context.h ('k') | mojo/runner/register_local_aliases.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698