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

Unified Diff: mojo/shell/standalone/desktop/main_helper.h

Issue 1630823002: Move mojo/runner to mojo/shell/standalone (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/shell/standalone/desktop/main.cc ('k') | mojo/shell/standalone/desktop/main_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/standalone/desktop/main_helper.h
diff --git a/mojo/runner/desktop/main_helper.h b/mojo/shell/standalone/desktop/main_helper.h
similarity index 52%
rename from mojo/runner/desktop/main_helper.h
rename to mojo/shell/standalone/desktop/main_helper.h
index 09c135dacc55fcc8ad924da40a9d7dd9263573cd..4872707d33e66a07ccb8dbbe1528e70ba746a79d 100644
--- a/mojo/runner/desktop/main_helper.h
+++ b/mojo/shell/standalone/desktop/main_helper.h
@@ -2,24 +2,25 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef MOJO_RUNNER_DESKTOP_MAIN_HELPER_H
-#define MOJO_RUNNER_DESKTOP_MAIN_HELPER_H
+#ifndef MOJO_SHELL_STANDALONE_DESKTOP_MAIN_HELPER_H
+#define MOJO_SHELL_STANDALONE_DESKTOP_MAIN_HELPER_H
#include "base/callback.h"
#include "url/gurl.h"
namespace mojo {
-namespace runner {
+namespace shell {
-// Helper method to start Mojo Runner code.
+// Helper method to start Mojo standalone shell code.
// If |mojo_url| is not empty, the given mojo application is started. Otherwise,
// an application must have been specified on the command line and it is run.
// |callback| is only called in the later case.
-int RunnerMain(int argc, char** argv,
- const GURL& mojo_url,
- const base::Closure& callback);
+int StandaloneShellMain(int argc,
+ char** argv,
+ const GURL& mojo_url,
+ const base::Closure& callback);
-} // namespace runner
+} // namespace shell
} // namespace mojo
-#endif // MOJO_RUNNER_DESKTOP_MAIN_HELPER_H
+#endif // MOJO_SHELL_STANDALONE_DESKTOP_MAIN_HELPER_H
« no previous file with comments | « mojo/shell/standalone/desktop/main.cc ('k') | mojo/shell/standalone/desktop/main_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698