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

Side by Side Diff: mojo/shell/standalone/desktop/main_helper.h

Issue 1714753002: 7/ Eliminate on_application_end from ConnectParams (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@client_request
Patch Set: . 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 unified diff | 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 »
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_STANDALONE_DESKTOP_MAIN_HELPER_H 5 #ifndef MOJO_SHELL_STANDALONE_DESKTOP_MAIN_HELPER_H
6 #define MOJO_SHELL_STANDALONE_DESKTOP_MAIN_HELPER_H 6 #define MOJO_SHELL_STANDALONE_DESKTOP_MAIN_HELPER_H
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "url/gurl.h" 9 #include "url/gurl.h"
10 10
11 namespace mojo { 11 namespace mojo {
12 namespace shell { 12 namespace shell {
13 13
14 // Helper method to start Mojo standalone shell code. 14 // Helper method to start Mojo standalone shell code.
15 // If |mojo_url| is not empty, the given mojo application is started. Otherwise, 15 int StandaloneShellMain(int argc, char** argv);
16 // an application must have been specified on the command line and it is run.
17 // |callback| is only called in the later case.
18 int StandaloneShellMain(int argc,
19 char** argv,
20 const GURL& mojo_url,
21 const base::Closure& callback);
22 16
23 } // namespace shell 17 } // namespace shell
24 } // namespace mojo 18 } // namespace mojo
25 19
26 #endif // MOJO_SHELL_STANDALONE_DESKTOP_MAIN_HELPER_H 20 #endif // MOJO_SHELL_STANDALONE_DESKTOP_MAIN_HELPER_H
OLDNEW
« 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