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

Unified Diff: shell/context.h

Issue 1061413002: Shell: Make a separate binary for child processes. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebased Created 5 years, 8 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
Index: shell/context.h
diff --git a/shell/context.h b/shell/context.h
index a460214a0b26452fa6150470283df26d31595ff9..f9aa048b18828752dcc69e9708d18e7eb0c6a761 100644
--- a/shell/context.h
+++ b/shell/context.h
@@ -51,6 +51,11 @@ class Context : public ApplicationManager::Delegate,
// success.
bool Init();
+ // Like Init(), but specifies values for |mojo_shell_path()| and
+ // |mojo_shell_child_path()| explicitly.
+ bool InitWithPaths(const base::FilePath& shell_path,
+ const base::FilePath& shell_child_path);
+
// If Init() was called and succeeded, this must be called before destruction.
void Shutdown();

Powered by Google App Engine
This is Rietveld 408576698