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

Unified Diff: mojo/runner/context.h

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 | « mojo/runner/BUILD.gn ('k') | mojo/runner/context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/runner/context.h
diff --git a/mojo/runner/context.h b/mojo/runner/context.h
index 52537666ee68928dd8ea85a1d776c81dbd2a9a61..5667385f3b3ad544e135b488de50ccd1838dff4f 100644
--- a/mojo/runner/context.h
+++ b/mojo/runner/context.h
@@ -18,6 +18,9 @@
#include "url/gurl.h"
namespace mojo {
+namespace package_manager {
+class PackageManagerImpl;
+}
namespace runner {
class NativeApplicationLoader;
@@ -52,6 +55,10 @@ class Context : public embedder::ProcessDelegate {
return application_manager_.get();
}
+ package_manager::PackageManagerImpl* package_manager() {
+ return package_manager_;
+ }
+
private:
class NativeViewportApplicationLoader;
@@ -63,6 +70,9 @@ class Context : public embedder::ProcessDelegate {
ScopedUserDataDir scoped_user_data_dir;
std::set<GURL> app_urls_;
scoped_ptr<TaskRunners> task_runners_;
+ base::FilePath shell_file_root_;
+ // Owned by |application_manager_|.
+ package_manager::PackageManagerImpl* package_manager_;
scoped_ptr<shell::ApplicationManager> application_manager_;
base::Closure app_complete_callback_;
base::Time main_entry_time_;
« no previous file with comments | « mojo/runner/BUILD.gn ('k') | mojo/runner/context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698