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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « mojo/runner/BUILD.gn ('k') | mojo/runner/desktop/launcher_process.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MOJO_SHELL_LAUNCHER_PROCESS_H_ 5 #ifndef MOJO_SHELL_LAUNCHER_PROCESS_H_
6 #define MOJO_SHELL_LAUNCHER_PROCESS_H_ 6 #define MOJO_SHELL_LAUNCHER_PROCESS_H_
7 7
8 #include "base/callback_forward.h"
9
10 class GURL;
11
8 namespace mojo { 12 namespace mojo {
9 namespace runner { 13 namespace runner {
10 14
11 // Main method for the launcher process. 15 // Main method for the launcher process.
12 int LauncherProcessMain(int argc, char** argv); 16 // See commit in main_helper.h for explanation of the parameters.
17 int LauncherProcessMain(const GURL& mojo_url, const base::Closure& callback);
13 18
14 } // namespace runner 19 } // namespace runner
15 } // namespace mojo 20 } // namespace mojo
16 21
17 #endif // MOJO_SHELL_LAUNCHER_PROCESS_H_ 22 #endif // MOJO_SHELL_LAUNCHER_PROCESS_H_
OLDNEW
« 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