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

Unified Diff: mojo/runner/desktop/launcher_process.h

Issue 1440053002: Remove duplication between Mandoline and mojo_runner main functions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/desktop/launcher_process.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/runner/desktop/launcher_process.h
diff --git a/mojo/runner/desktop/launcher_process.h b/mojo/runner/desktop/launcher_process.h
index 9a7841a2d8748314c9972e463c25398a0bdd16b3..ec78f5bd5b722aaf0e969364339e265f89831c4f 100644
--- a/mojo/runner/desktop/launcher_process.h
+++ b/mojo/runner/desktop/launcher_process.h
@@ -5,11 +5,16 @@
#ifndef MOJO_SHELL_LAUNCHER_PROCESS_H_
#define MOJO_SHELL_LAUNCHER_PROCESS_H_
+#include "base/callback_forward.h"
+
+class GURL;
+
namespace mojo {
namespace runner {
// Main method for the launcher process.
-int LauncherProcessMain(int argc, char** argv);
+// See commit in main_helper.h for explanation of the parameters.
+int LauncherProcessMain(const GURL& mojo_url, const base::Closure& callback);
} // namespace runner
} // namespace mojo
« no previous file with comments | « mojo/runner/BUILD.gn ('k') | mojo/runner/desktop/launcher_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698