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

Unified Diff: mojo/shell/background/background_shell.h

Issue 1722743002: Adds ability for chrome to behave as mojo_runner (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge to tip of tree Created 4 years, 10 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: mojo/shell/background/background_shell.h
diff --git a/mojo/shell/background/background_shell.h b/mojo/shell/background/background_shell.h
index d1e9c412438094b186bfdcc445873b0759086655..e04d28291f6b72bbbb4b5f64c50be448a6b51e1b 100644
--- a/mojo/shell/background/background_shell.h
+++ b/mojo/shell/background/background_shell.h
@@ -17,7 +17,7 @@ class GURL;
namespace mojo {
namespace shell {
-struct CommandLineSwitch;
+class NativeRunnerDelegate;
// BackgroundShell starts up the mojo shell on a background thread, and
// destroys the thread in the destructor. Once created use CreateApplication()
@@ -28,9 +28,8 @@ class BackgroundShell {
BackgroundShell();
~BackgroundShell();
- // Starts the background shell. |command_line_switches| are additional
- // switches applied to any processes spawned by this call.
- void Init(const std::vector<CommandLineSwitch>& command_line_switches);
+ // Starts the background shell.
+ void Init(NativeRunnerDelegate* native_runner_delegate);
// Obtains an InterfaceRequest for the specified url.
InterfaceRequest<mojom::ShellClient> CreateShellClientRequest(

Powered by Google App Engine
This is Rietveld 408576698